C
Charlie
Hi,
I have a command button which prints a report. I want to include a message
which will pop up if certain fields are not entered within the form or
subforms but not if they are complete. The current code is:
Private Sub Command38_Click()
On Error GoTo Err_Command38_Click
Dim stDocName As String
stDocName = "Order"
DoCmd.OpenReport stDocName, acNormal
Exit_Command38_Click:
Exit Sub
Err_Command38_Click:
MsgBox Err.Description
Resume Exit_Command38_Click
End Sub
Many thanks
Charlotte
I have a command button which prints a report. I want to include a message
which will pop up if certain fields are not entered within the form or
subforms but not if they are complete. The current code is:
Private Sub Command38_Click()
On Error GoTo Err_Command38_Click
Dim stDocName As String
stDocName = "Order"
DoCmd.OpenReport stDocName, acNormal
Exit_Command38_Click:
Exit Sub
Err_Command38_Click:
MsgBox Err.Description
Resume Exit_Command38_Click
End Sub
Many thanks
Charlotte