General information
Category:
Database DAO/RDO/ODBC/ADO
Title:
Rollback Changes to a Grid
Any body knows how to rollback changes to a datagrid in a VB6 form. I did it successfully in VB5 with the BeginTrans and Rollback methods applying to the workspace of DAO. But I fail in figuring out how to do it with a VB6 ADO dataenvironment. As I know, the BeginTrans and RollbackTrans are methods of the connection object. I don't know how to get access to the connection object of the recordset of the grid.
I tried DE.rsInvoiceDetail.ActiveConnect.BeginTrans, but it didn't work. I am using a local Access database.
Thanks in advance!
Ben
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only