🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #4193

Locate method of TADOQuery

#4193
From: Formentz
Date: Mon, 18 Mar 2002 10:53
13 lines
1355 bytes
Hi all,
in the locate method of TADOQuery you can specify in the TLocateOptions the
flag loPartialKey, but the partial key is not as I expected.
If I have a string like "use ADO instead of ODBC", if I Locate "ADO" it
doesn't find the record, it finds the record if I search "use ADO".

Is there a method to search the way I need? or a workaround? or a change to
the original Locate function to use it in a derived component?

TIA

Ciao
Formentz
Technical Details
Message-ID: <3c95c71a$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!telocity-west!TELOCITY!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,73110aeff53c8dd7,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-03-18 02:58:20 PST
From: "Formentz" <francesco@leotron.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Locate method of TADOQuery
Date: Mon, 18 Mar 2002 11:53:48 +0100
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 80.16.99.17
Message-ID: <3c95c71a$1_1@dnews>
X-Trace: dnews 1016448794 80.16.99.17 (18 Mar 2002 02:53:14 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!telocity-west!TELOCITY!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews