Board index » delphi » Transaction rollback

Transaction rollback

Oops, omitted a crucial "not".  Here it is properly stated:
Quote
> When a user deletes a record and then decides to rollback the
> transaction, the table in my app is restored but the grid does not refresh

> with the once-deleted record.  How do I get the grid to show the current
> table contents?  I have tried refreshing both the table and the grid but
> to no avail.  What am I missing?

> Delphi 5 Prof
> Access 2000
> ADOExpress TADOConnection, TADOTable
> InfoPower Twwdbgrid, TwwDataSource

 

Re:Transaction rollback


When a user deletes a record and then decides to rollback the
transaction, the table in my app is restored but the grid does refresh
with the once-deleted record.  How do I get the grid to show the current
table contents?  I have tried refreshing both the table and the grid but
to no avail.  What am I missing?

Delphi 5 Prof
Access 2000
ADOExpress TADOConnection, TADOTable
InfoPower Twwdbgrid, TwwDataSource

Re:Transaction rollback


Quote
>with the once-deleted record.  How do I get the grid to show the current
>> table contents?  

Requery should do it.

--
Brian Bushay (TeamB)
Bbus...@NMPLS.com

Other Threads