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.
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / anjani
Connection Object of ADO is Used to Perform Commit and
Rollback.
Is This Answer Correct ? | 9 Yes | 0 No |
Answer / john ranjith
Connection object will be used to commit / rollback the
transaction
Is This Answer Correct ? | 2 Yes | 0 No |
what are the Differences between Recordset and Resultsets?
0 Answers IBS, Lava International,
Difference between Recordset and Querydef?
2 Answers 3i Infotech, IBM, TCS,
How to control the file?
Are there any examples of commercial applications built using Visual Basic?
What is hyperlink?
What is the-use of property page Wizard in ActiveX Control?
How many types of ActiveX Components are there in Visual Basic and what are they?
What is the use of Data Form Wizard?
what are container objects?
What is the difference between Exec and ExecSQL? (wouldnt this be dependent on data access? Ie ADO use different method than DAO)
What are the types of line styles available in Treeview Control?
Which language is used in visual basic?