is there a way to calculate the time in and time out
to show in the table LogTotal = LogIn + LogOut
this is the code :
when i log in the system
when i log out
the tables are
any help will be appreciated
regards salsa31
to show in the table LogTotal = LogIn + LogOut
this is the code :
when i log in the system
Code:
ULog = NextID("LogID", "Logs")
CN.Execute "INSERT INTO Logs (LogID, LogDate, LogDay, LogName, LogIn) VALUES (" & _
ULog & ", #" & Format(Now, "mm/dd/yyyy") & "#,'" & Format(Date, "dddd") & "','" & UsLogin & " ', #" & _
Format(Now, "HH:MM:SS") & "#)"
Code:
CN.Execute "UPDATE Logs SET LogOUT= #" & Format(Now, "HH:MM:SS") & "# WHERE LogID= " & ULog
Code:
LogID
LogDate
LogDay
LogName
LogIn
LogOut
LogTotal
regards salsa31