N
Nike
I posted earlier, but got no response. I think I am close
but I keep getting a syntex error. Can someone shed some
light on where my error is? It keeps telling me I am
missing an operator.
Thanks
Set rst = dbs.OpenRecordset("SELECT DISTINCTROW " & _
"tblScheduleClass.ScheduleClassID " & _
"FROM tblScheduleClass" & _
" WHERE " & "[Class] Like " &
Me.REASONLIST.Column(1) & "[Date] = " & Date & ";")
Set rst2 = CurrentDb.OpenRecordset
("tblStudentsAndClasses")
rst2.AddNew
rst2![ClassID] = rst4!
[tblScheduleClass.ScheduleClassID]
rst2![CustomerID] = Me.CustomerID
rst2.Update
rst2.Close
but I keep getting a syntex error. Can someone shed some
light on where my error is? It keeps telling me I am
missing an operator.
Thanks
Set rst = dbs.OpenRecordset("SELECT DISTINCTROW " & _
"tblScheduleClass.ScheduleClassID " & _
"FROM tblScheduleClass" & _
" WHERE " & "[Class] Like " &
Me.REASONLIST.Column(1) & "[Date] = " & Date & ";")
Set rst2 = CurrentDb.OpenRecordset
("tblStudentsAndClasses")
rst2.AddNew
rst2![ClassID] = rst4!
[tblScheduleClass.ScheduleClassID]
rst2![CustomerID] = Me.CustomerID
rst2.Update
rst2.Close