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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Avoid Save dialog after query format changes

Status
Not open for further replies.

ReluctantDataGuy

Programmer
May 15, 2003
131
US
Is there a way to prevent MS Access from displaying the Save dialog after a user makes formatting changes - such as column widths - to a query?

Note that I use "DoCmd.OpenQuery QryName, acViewNormal, acReadOnly" but it only prevents data changes - still allows formatting changes and displays the Save dialog.

I want users to be able to make formatting changes. I just don't want Access to ask them if they want to save the changes.

Thanks in advance for any help.

BobK
 
You may try this. But it turns off all warnings until you turn it back on.

DOCMD.SETWARNINGS FALSE
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top