Having trouble with the syntax of this Update Query ...could anyone help ???
I'd like the update ...Update the fields AttType and AttMeetTime in the table....
StrSQL = "UPDATE Attend SET Attend.AttType = " & TypeAttend _
& ",Attend.AttMeetTime = " & Me!scrMeetTime & " WHERE (((Attend.AttStudent)=" & Me![scrStudent] & ") AND" _
& "((Attend.AttDate)=#" & Format(TDate, "mm/dd/yy") & "#));"
DoCmd.RunSQL StrSQL
I'd like the update ...Update the fields AttType and AttMeetTime in the table....
StrSQL = "UPDATE Attend SET Attend.AttType = " & TypeAttend _
& ",Attend.AttMeetTime = " & Me!scrMeetTime & " WHERE (((Attend.AttStudent)=" & Me![scrStudent] & ") AND" _
& "((Attend.AttDate)=#" & Format(TDate, "mm/dd/yy") & "#));"
DoCmd.RunSQL StrSQL