How can I disable the dialogue boxes in MS Access

A

AM

Hi There,
I was desiging a report which contain generating report from a table which
is being dynamically fed while running the code and in this process i first
clear the data in it and then insert the data from the master table.
But while deleting and inserting the Access dialogue box is coming warning
about the deletion and Insertion.

Is there any way to disable the dialogue box from MS Access?

Any help in this regard is highly appreciated.

Thanks,
A M
 
D

Duane Hookom

You can use code before your action queries like:

DoCmd.SetWarnings False

Then set warnings back to True when finished.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top