🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.ado
1 messages
1 total messages Started by harry lam Fri, 10 Nov 2000 01:52
Is it a Bug?
#6076
Author: 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?
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads