Hi,
I have the following code that runs:
In the event there are 0 records to append, how can I cancel both commands? and perhaps a message box after the cancel?
thanks,
I have the following code that runs:
Code:
Private Sub Recurrence_review_BUTTON_Exit(Cancel As Integer)
DoCmd.OpenQuery "Delete the appended records to Recurrent rc from cumul"
DoCmd.OpenQuery "Daily Review of new/oustanding", acViewNormal, acEdit
End Sub
In the event there are 0 records to append, how can I cancel both commands? and perhaps a message box after the cancel?
thanks,