AndyCompanyZ
Registered User.
- Local time
- Today, 17:00
- Joined
- Mar 24, 2011
- Messages
- 223
I have the above error come up on the following piece of code on the highlighted line:
I have run it with a breakpoint and it shows for instance Me.comboFaculty = 2 on the line but only that.
Code:
Dim Rs4 As DAO.Recordset
[COLOR=red]Set Rs4 = CurrentDb.OpenRecordset("Select * From tblFacultyEvent Where FacultyID = " & Me.cmboFacultyEvent & " And EventEndDay= " & Format(Me.Parent!EventEndDate, "\#mm\/dd\/yyyy\#"))
[/COLOR] If Not Rs4.EOF And Not R43.BOF Then
MsgBox "Already Scheduled for an Event on same day"
Exit Sub
End If
I have run it with a breakpoint and it shows for instance Me.comboFaculty = 2 on the line but only that.