Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I stop warning messages from displaying?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
I have code in a report module that runs a make-table query. Each time the code executes, messages are displayed and I am prompted to click for different options. I want the report to run with no interruptions. How do I do this?
 
In Menu.... Tools.. Options...Edit/Find. Use the Confirm check boxes to decide what warnings you want to see.

If you want to do it by code let me know

Hope this helps
 

To disable warning messages use the SetWarnings method.

DoCmd.SetWarnings (False)

To enaable:

DoCmd.SetWarnings (True)
Terry
------------------------------------
Blessed is the man who, having nothing to say, abstains from giving us worthy evidence of the fact. -George Eliot
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top