G
Guest
I have a user log table of:
NetUserName (e.g. mmiller)
LoginDate
LoginTime
LogoffDate
LogoffTime
I have code that fills it with the login info, which is just an .AddNew.
When the user Exits the app, I -do have- the username available, and I want
to find the user in the table, with their max login date and time, where the
logoff's are null, and then fill those logoffs, with the current date and
time. (I think that would be the correct logic)
I have the query to get the name, and max date and time, but I can't make
that an Update query. If I use ADO, how would I do this (or what is an easy
way to do it?)?
Thanks.
NetUserName (e.g. mmiller)
LoginDate
LoginTime
LogoffDate
LogoffTime
I have code that fills it with the login info, which is just an .AddNew.
When the user Exits the app, I -do have- the username available, and I want
to find the user in the table, with their max login date and time, where the
logoff's are null, and then fill those logoffs, with the current date and
time. (I think that would be the correct logic)
I have the query to get the name, and max date and time, but I can't make
that an Update query. If I use ADO, how would I do this (or what is an easy
way to do it?)?
Thanks.