Article View: borland.public.cppbuilder.database.ado
Article #3530Whats wrong in here ?
From: Uros Obradovic
Date: Mon, 29 Jul 2002 22:24
Date: Mon, 29 Jul 2002 22:24
20 lines
1519 bytes
1519 bytes
I have DBEdit control on my form which is connected with certain field in
the table.
When I Filter a table, I should have a pointer on the new field that has
empty values, but when I actually click on DBEdit control, I'm getting
previous field. Whats wrong with my code ?
PersonTable->Filter = "LName = ' '";
PersonTable->Filter = "FName = ' '";
PersonTable->Filtered = true;
PersonTable->FindFirst();
ShowMessage(PersonTable->FieldByName("PersonID")->AsString); // this is only
a test, but it shows the correct
// value, but im getting record before this one
// in my DBEdit control
Please help
Uros
Technical Details
Message-ID:
<3d45c0c8$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,51a1fa508f578eae,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-07-29 15:33:06 PST Reply-To: "Uros Obradovic" <ouros@hotmail.com> From: "Uros Obradovic" <ouros@hotmail.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: Whats wrong in here ? Date: Mon, 29 Jul 2002 15:24:14 -0700 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 134.71.141.37 Message-ID: <3d45c0c8$1_1@dnews> X-Trace: dnews 1027981512 134.71.141.37 (29 Jul 2002 15:25:12 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews