Jul 11, 2004 #1 Hfnet IS-IT--Management Dec 31, 2003 369 GB I have called an update query from a form using DoCmd.OpenQuery "QUpdateStock", acNormal, acReadOnly But it asks for user intervention each time to click Yes to run Can this be done automatically so that there is no user intervention required?
I have called an update query from a form using DoCmd.OpenQuery "QUpdateStock", acNormal, acReadOnly But it asks for user intervention each time to click Yes to run Can this be done automatically so that there is no user intervention required?
Jul 11, 2004 #2 ByteMyzer Programmer Nov 17, 2002 201 US Try these three statements in the following sequence: Code: DoCmd.SetWarnings False DoCmd.OpenQuery "QUpdateStock", acNormal, acReadOnly DoCmd.SetWarnings True Upvote 0 Downvote
Try these three statements in the following sequence: Code: DoCmd.SetWarnings False DoCmd.OpenQuery "QUpdateStock", acNormal, acReadOnly DoCmd.SetWarnings True