When i'm working from my home PC - i dont get this
But when i'm working from my laptop i get the attached message everytime i click on my calendar
I think the code that sits behind it is
Anyway - i want to stop this popup box - how can this be done please?
But when i'm working from my laptop i get the attached message everytime i click on my calendar
I think the code that sits behind it is
Code:
If IsNull(RecDetect) Then
StrSQL = "INSERT INTO Attend ( AttStudent, AttDate, AttType ) " _
& "SELECT " & Me![scrStudent] & " AS F1, #" _
& Format(TDate, "mm/dd/yy") & "# AS F2, " & TypeAttend & " AS F3;"
DoCmd.RunSQL StrSQL
Else
StrSQL = "UPDATE Attend SET Attend.AttType = " & TypeAttend _
& " WHERE (((Attend.AttStudent)=" & Me![scrStudent] & ") AND" _
& "((Attend.AttDate)=#" & Format(TDate, "mm/dd/yy") & "#));"
DoCmd.RunSQL StrSQL
End If