Article View: borland.public.cppbuilder.database.multi-tier
Article #646TClientDataSet acting very strange...
From: CTHULHU
Date: Tue, 29 May 2001 10:30
Date: Tue, 29 May 2001 10:30
35 lines
1973 bytes
1973 bytes
Hi, I have a very strange and dangerous problem with a filtered TClientDataSet. Here are the facts: I got a filtered TClientDataSet let call it ClientDB1, it is filtered by a field called Route (a BLOB field) If I change the Blob field and I ApplyUpdates(-1) then the strange thing happens. In this way. Let's say we see the following in the BDGrid on the window before the changes and before th call to ClientDB1->ApplyUpdates(-1)... ClientDB1 is filtered as "...Route = "First"..." Date Name Route 01012001 Me First 01022000 You First Now if I change the Route field to Second and I ApplyUpdates(-1) then I will'see the following on the DBGrid... Date Name Route 01022000 Me First The first record (Me) has disappeared from DBGrib because it doent'match the filter anymore. But! The following record has changed its name fro "You" to "Me"!!!!!! And it is not a visualization problem but a real one, because the name has been overwritten into the database!!!!! Someon can help me? I cannot figure out how to correct this strange behaviour... I'm using C++Builder4 and Interbase 6.0.1 and NT Ws 4.0 Sp5 Raffaele Pantaleoni
Technical Details
Message-ID:
<3b137759.13545877@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!feed2.onemain.com!feed1.onemain.com!news.stealth.net!news.uni-stuttgart.de!nntp.CS.Uni-Magdeburg.De!news.boerde.de!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,26ef08331c321ad1,start X-Google-Attributes: gidfcd2b,public X-Google-ArrivalTime: 2001-05-29 03:46:02 PST From: raffaele.pantaleoni@mysui.com (CTHULHU) Newsgroups: borland.public.cppbuilder.database.multi-tier Subject: TClientDataSet acting very strange... Date: Tue, 29 May 2001 10:30:59 GMT Message-ID: <3b137759.13545877@newsgroups.borland.com> X-Newsreader: Forte Free Agent 1.21/32.243 NNTP-Posting-Host: 151.35.24.169 X-Trace: dnews 991132525 151.35.24.169 (29 May 2001 03:35:25 -0700) Lines: 35 Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!feed2.onemain.com!feed1.onemain.com!news.stealth.net!news.uni-stuttgart.de!nntp.CS.Uni-Magdeburg.De!news.boerde.de!dnews