D
Dic_nutana
Hi I have the following code which runs when I open a second form... it works
great but unfortunately I get a second system message box as well as my own
custom box what have I missed out?
can anyone help
many thanks in advance
:
Private Sub Form_Open(Cancel As Integer)
If Me.Recordset.RecordCount = 0 Then
Cancel = True
MsgBox "There are no records to display."
End If
End Sub
great but unfortunately I get a second system message box as well as my own
custom box what have I missed out?
can anyone help
many thanks in advance
:
Private Sub Form_Open(Cancel As Integer)
If Me.Recordset.RecordCount = 0 Then
Cancel = True
MsgBox "There are no records to display."
End If
End Sub