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

Setwarnings issue

Status
Not open for further replies.

SKILTC

IS-IT--Management
Apr 3, 2001
6
US
I have used the setwarnings in the following manner.

Dim stDocName As String
DoCmd.SetWarnings (False)
stDocName = "qry Emp update"
DoCmd.OpenQuery stDocName, acNormal, acEdit
DoCmd.SetWarnings (True)

the query used is an append query

This code works fine in both the original .MDB and .MDE databases but when I package either format and distribute in a runtime environment the warning messages are not supressed. The runtime version does not have the ability to change the settings under Tools\Options confirm changes\deletions\action querys. These options are turned off when I develop and package the program. Has anyone else had this problem? How can I stop these messages from appearing to the enduser.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top