🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Is it a Bug?

#6076
From: harry lam
Date: Fri, 10 Nov 2000 01:52
10 lines
1583 bytes
I have created a table with a single trigger on the MS SQL SERVER7.0. This
trigger is used to prevent wrong data input. In the C++ Builder 5.0, I put
an ADO query and a ��DBGrid�� components in an application form. I try to
modify a record, which triggers the rollback function on server side. After
the rollback, the screen still displays the modified data rather than the
original data. I tried to trip an error under the ��OnPostError()�� event.
I tried to disable the ��DBGrid->DataSource�� under ��OnPostError()�� event.
It shows me an error twice. If I don��t disable the ��DBGrid->DataSource��,
the system becomes something wrong. Is it a bug on ��DBGrid�� with
��ADOExpress�� components?  Does any one know how to handle this situation?
Technical Details
Message-ID: <3a0b5503$1_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeed.online.be!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!dnews!203.186.146.177

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,2158daa823a15930,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2000-11-09 17:53:16 PST
From: "harry lam" <hkharry@hknet.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Is it a Bug?
Date: Fri, 10 Nov 2000 09:52:56 +0800
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 203.186.146.177
Message-ID: <3a0b5503$1_2@dnews>
X-Trace: 9 Nov 2000 17:53:07 -0800, 203.186.146.177
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeed.online.be!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!dnews!203.186.146.177