🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

TADOTable and findFirst

#2697
From: William d'foe
Date: Wed, 09 Apr 2003 07:51
16 lines
1722 bytes
I am trying setting a TADOTables fileter to [name="wi*"] and expect a
folowing call to FindFirst to find the first entry with a name matching the
mask Wi... will or wilma or whatever is there and comes first. It doesnt
move to any entry though. If i set the mask to "Will" then it will go to an
entry with name Will.
The help says that wildcards can be used, but for some reason it doesnt work
for me.


I thought it could have something to do with the cursor type which is
ctStatic. I cant change it though. If i change it to ctDynamic and then set
the table active, it goes right back at ctStatic. I dont know if that has
anything to do with it though.

Can someone explain to me how i find the first record with name matching
"something*"?
Technical Details
Message-ID: <3e93d0cf@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!sn-xit-08!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!c03.atl99!news.webusenet.com!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,beca434ec02f5d43,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-04-09 00:59:03 PST
From: "William d'foe" <wdf@tele.spam.dk>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: TADOTable and findFirst
Date: Wed, 9 Apr 2003 09:51:21 +0200
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 212.242.62.243
Message-ID: <3e93d0cf@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1049874639 212.242.62.243 (9 Apr 2003 00:50:39 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!sn-xit-08!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!c03.atl99!news.webusenet.com!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail