chris klein
11-12-2003, 10:34 AM
I am using an event procedure attached to a command button in a form to append a new record into each of a set of ten tables. An example of the appending code is
DoCmd.RunSQL "INSERT INTO [PROJECTS-Figures] ( [PROJID] )" & _
"VALUES (" & PRJID & "); "
This gets repeated ten times, each for a different table.
Before executing each append, Access presents me with a warning window "You are about to append 1 row(s)....Once you click yes...." with Yes and No response buttons. As a result, I have to click Yes ten times to complete the set of 10 appends.
Is there any way to suppress the warning and have the query proceed without it?
DoCmd.RunSQL "INSERT INTO [PROJECTS-Figures] ( [PROJID] )" & _
"VALUES (" & PRJID & "); "
This gets repeated ten times, each for a different table.
Before executing each append, Access presents me with a warning window "You are about to append 1 row(s)....Once you click yes...." with Yes and No response buttons. As a result, I have to click Yes ten times to complete the set of 10 appends.
Is there any way to suppress the warning and have the query proceed without it?