A
Anne
I have an Access 97 db that handles scheduling for
conference rooms. A requirement is that if a conflicting
time is entered for a room, the user is notified.
Didn't think this would be such a headache. I've tried:
Set db = DBEngine(0)(0)
Set rst = db.OpenRecordset(strRecSource)
If rst.EOF And rst.BOF = True Then
Exit Sub
ElseIf rst.EOF And rst.BOF = False Then
DoCmd.OpenForm "frmDetectConflict"
End If
Because the query has criteria in it for room code, date
and times, I get an error message: "Too few parameters.
Expected 4".
Can anyone suggest a different approach? Thanks in
advance for your help.
conference rooms. A requirement is that if a conflicting
time is entered for a room, the user is notified.
Didn't think this would be such a headache. I've tried:
Set db = DBEngine(0)(0)
Set rst = db.OpenRecordset(strRecSource)
If rst.EOF And rst.BOF = True Then
Exit Sub
ElseIf rst.EOF And rst.BOF = False Then
DoCmd.OpenForm "frmDetectConflict"
End If
Because the query has criteria in it for room code, date
and times, I get an error message: "Too few parameters.
Expected 4".
Can anyone suggest a different approach? Thanks in
advance for your help.