J
johnlute
The debugger is pointing to "Cancel" in the following:
If IsNull(Me.cbSelectReport) = True Then
MsgBox "No document is selected!" & vbCrLf & _
"Select a document and click the PDF button.", vbOKOnly + _
Cancel = True
DoCmd.GoToControl "cbSelectReport"
Exit Sub
End If
I'm using Access 2003. I use this code in two separate databases. It
works in one but not the other. Any ideas???
Thanks!
If IsNull(Me.cbSelectReport) = True Then
MsgBox "No document is selected!" & vbCrLf & _
"Select a document and click the PDF button.", vbOKOnly + _
Cancel = True
DoCmd.GoToControl "cbSelectReport"
Exit Sub
End If
I'm using Access 2003. I use this code in two separate databases. It
works in one but not the other. Any ideas???
Thanks!