im having problem og this code...
txtTimeOut.Text = Format(Now, "h:mm:ss tt")
constr = "UPDATE tblDTR SET EmpName='" & txtName.Text _
& "', Date_in='" & Format(Now, "MMMM d, yyyy") _
& "', Time_in='" & txtTimeIn.Text _
& "', Date_out='" & Format(Now, "MMMM d, yyyy") _
& "', Time_out='" & txtTimeOut.Text _
& "'WHERE EmployeeID=" & txtEmpID.Text
im having an error of datatype mismatch in criteria expression i checked the table i made and it has the same name and right rows to insert data into.. i just can't find the problem in my code.. can someone help me?..
btw im doing a dtr system the code shown above is for the time-out of an employee..