Auto Commit

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm new to VB and still learning, but I have a quick question. I have
written code to append entries, delete entries, copy tables, ect. However,
every time it goes to delete, append, ect, it asks ie "you are about to
delete 60 entries". Is there a way I can have it auto. say yes? And if so,
how?

Thanks for the help
 
You can suppress those messages if you turn SetWarnings off.
But then you don't know if the action succeeded for failed.

Instead, Execute your action queries.
There is no warning message if it succeeds.
You can be notified it fails.
And you can programmatically check the number of records affected.

For an explanation of the details, see:
Action queries: suppressing dialogs, while knowing results
at:
http://allenbrowne.com/ser-60.html
 
Back
Top