J
Joyce
Here is the code I have to save a record and bring back a
new empty form for anohter entry, but now I'm getting this
error "The RunCommand Action Was Canceled" What does this
mean?
Private Sub cmdSaveNewCustomerData_Click()
On Error GoTo Err_cmdSaveNewCustomerData_Click
DoCmd.Save
DoCmd.RunCommand acCmdRecordsGoToNew
Exit_cmdSaveNewCustomerData_Click:
Exit Sub
Err_cmdSaveNewCustomerData_Click:
MsgBox Err.Description
Resume Exit_cmdSaveNewCustomerData_Click
End Sub
new empty form for anohter entry, but now I'm getting this
error "The RunCommand Action Was Canceled" What does this
mean?
Private Sub cmdSaveNewCustomerData_Click()
On Error GoTo Err_cmdSaveNewCustomerData_Click
DoCmd.Save
DoCmd.RunCommand acCmdRecordsGoToNew
Exit_cmdSaveNewCustomerData_Click:
Exit Sub
Err_cmdSaveNewCustomerData_Click:
MsgBox Err.Description
Resume Exit_cmdSaveNewCustomerData_Click
End Sub