Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Does Access DB supports transactions?

Status
Not open for further replies.

thelordoftherings

Programmer
May 16, 2004
616
IL
Hello,

I have an ASP page connected to an Access DB.
Through the ASP I am making updates using transactions.
My question is if an Access DB supports transactions at all (meaning rollback and commit)?
 
In a word yes, see BeginTrans and Commit methods of workspace object for how you would do it in DAO, there are presumably similar methods in ADO, as properties of the .Connection object(?), but I am not familiar enough with ADO to quote them

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
With OLE DB/ADO you can issue plain SQL:

BEGIN TRANSACTION
ROLLBACK TRANSACTION
COMMIT TRANSACTION

 
Yes, the ADO connection object has .BeginTrans and .CommitTrans methods.

Ed Metcalfe.

Please do not feed the trolls.....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top