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!

Supress Action Failed on Cancel of Append Query Dialog Prompt

Status
Not open for further replies.

meagain

MIS
Nov 27, 2001
112
CA
Hi All,

Is there anyway to instruct a MS Access (2002) application how to respond to a user pressing cancel from an Append Query criteria dialog prompt? The Append Query is executed from a macro.

When the users press Cancel now, they receive an Action Failed window. Would prefer the Action Failed window did not appear in this instance.

Thank you,
LP
 
Thanks for including which version you're using. Is there an error number with the message?
 
Oh, obviously:
On Error GoTo Err_Command0_Click in the on click code before the rest of the code

at the end
Err_Command0_Click:
Resume Exit_Command0_Click
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top