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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to set USE TRANSACTION property in ADO to execute a query?

Status
Not open for further replies.

surotkin

Programmer
Dec 10, 2003
103
CA
Hi everybody,
I have an action (update) query that gives me error
There isn't enough disk space or memory to undo the data changes this action query is about to make.

I found that if I change property USE TRANSACTION to NO in MS Access interface (Database Window), then the error disappears.
However, when I try to execute the same action query in ADO using COMMAND object, then ADO doesn't execute the query (RecordsAffected returns zero).

Does anybody know how to set USE TRANSACTION property in ADO to execute a query?

Thanks.
surotkin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top