We help IT Professionals succeed at work.
Get Started

INSERT query: best method for confirming success?

Last Modified: 2013-12-25
I am going through an exisiting Access 2003 application and I am trying to tighten things up to make it more stable and efficient.

Most of the database code (mostly DAO) does not do any confirmations on INSERT and DELETE operations. UPDATES are performed automatically as changes are made. I would like to be able to tell users whether or not a database operation succeeded and I would also like to have more control over transactions in general.

This leads to my question: Is using a TRANSACTION block the best way to do an operation with a confirmation or is better to just re-read the new row and base the confirmation on the success of that operation?
Watch Question
Software Engineer
This problem has been solved!
Unlock 2 Answers and 8 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE