Replacing Access Workspaces with ??

ian_w

Registered User.
Local time
Today, 03:31
Joined
Jun 13, 2006
Messages
64
I have various routines that run in workspace transactions in VBA using DAO.

I've just figured out that these are no longer working now I have ODBC linked SQL tables :banghead:

What is the SQL alternative to an access workspace to allow rollback if an update fails? Can it be done from access VBA or do I have to do this on the SQL server itself?
 
Hi,

You can still do it from VBA using ADO instead of DAO.
Check out the BeginTrans, CommitTrans and RollbackTrans methods.

Cheers,
Chris
 

Users who are viewing this thread

Back
Top Bottom