D
Dave Elliott
I have a orders form and on it is a command button that runs the below
code.
The code errors out if the user cancels the new object action.
The error message is Resume Without Error
Trying to let the user create labels.
On Error GoTo Err_Command1_Click
DoCmd.RunCommand acCmdNewObjectReport
DoCmd.Close acForm, "Orders"
Exit_Command1_Click:
Err_Command1_Click:
MsgBox err.Description
Resume Exit_Command1_Click
code.
The code errors out if the user cancels the new object action.
The error message is Resume Without Error
Trying to let the user create labels.
On Error GoTo Err_Command1_Click
DoCmd.RunCommand acCmdNewObjectReport
DoCmd.Close acForm, "Orders"
Exit_Command1_Click:
Err_Command1_Click:
MsgBox err.Description
Resume Exit_Command1_Click