C
Carl Mankat
I know this is off topic but can someone point me to the correct place?
What is the equivalent to "RecordsetClone.RecordCount" For forms?
If Me.RecordsetClone.RecordCount = 0 Then
Place your code in the form's Open event, then cancel the event if
there are no records.
Private Sub Form_Open(Cancel As Integer)
If Me.RecordsetClone.RecordCount = 0 Then
MsgBox "Choose a room number between 1 & 44"
Cancel = true
End If
End Sub
TIA,
Carl
What is the equivalent to "RecordsetClone.RecordCount" For forms?
If Me.RecordsetClone.RecordCount = 0 Then
MsgBox "Choose a room number between 1 & 44"
End If
Place your code in the form's Open event, then cancel the event if
there are no records.
Private Sub Form_Open(Cancel As Integer)
If Me.RecordsetClone.RecordCount = 0 Then
MsgBox "Choose a room number between 1 & 44"
Cancel = true
End If
End Sub
TIA,
Carl