Time Log In/Out

G

Guest

Any ideas on how to create a screen where students can type in their ID and click the LOG IN button to record their time in and then type in their ID and click the LOG OUT button to record their time out. The problem I am having is how to tell it to go back and record the TIME OUT in the correct record with the corresponding TIME IN. I hope that makes sense.
 
R

Rick B

You must lookup the entry in the table.

You will have to use the DLookup function.

HELP should explain it to you.

Rick B


Any ideas on how to create a screen where students can type in their ID and
click the LOG IN button to record their time in and then type in their ID
and click the LOG OUT button to record their time out. The problem I am
having is how to tell it to go back and record the TIME OUT in the correct
record with the corresponding TIME IN. I hope that makes sense.
 
T

t

When the student logs in, store their ID in some global
variable, and then when the student wants to logout, you
could issue a SQL Update statement where you would set the
LOGOUT date/time to the current date/time using the Now()
function, WHERE the ID field equals the currently logged
in student's ID in that global variable.

-----Original Message-----
Any ideas on how to create a screen where students can
type in their ID and click the LOG IN button to record
their time in and then type in their ID and click the LOG
OUT button to record their time out. The problem I am
having is how to tell it to go back and record the TIME
OUT in the correct record with the corresponding TIME IN.
I hope that makes sense.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top