Which ADO object is used to perform commit / rollback ?
Is it command or connection or recordset
I am not sure of the options given. So please let me know
the answer if it is something else.
Answer Posted / ghanshyam vrema
ye, through Connection object you can commit or rollback
the transaction Eg:
on error go to errhandler
con.BeginTrans
con.execute cmd
con.execute cmd2
con.CommitTrans
errhandler:
con.RollbackTrans
Is This Answer Correct ? | 18 Yes | 0 No |
Post New Answer View All Answers
What is ODBC Direct and Microsoft Jet Database Engine ?
Explain the working of templates?
How do I do drag & drop between applications?
How do I call help files from a VB program?
Is it possible to Access BackEnd procedures?
Why do I get "object not an array" when I try reference the fields of a global object variable which I have set to a table?
What is OLEDB?
DHTML Is used for what?
Write the Steps in Creating an ActiveX Control?
How do I implement an accelerator key for a text box?
How would you access objects created in ActiveX Exe and ActiveX Dll
Draw Sequence Modal of RDO and Explain?
Difference between Class Module and Standard Module?
Explain the working with task in Gantt chart view.
How would you create properties in ActiveX Control?