Hi
when i run the below code i get the error "Data type mismatch in criteria expression"
Table Fields:Code:CurrentDb.Execute "Update tblUser SET Pdate = Now() WHERE ID = '" & Me.UserLogin & "'"
1. Pdate = Date/Time
2.UserLogin = Number
how to avoid this error?