K
Kahuna
Hi Folks
This seems like it should be simple - so perhaps I have my STOOPID head on
today or something!
I am writing a login app and I need to record the date AND time the user
logged in. Sounds simple enough:
tblLoggedIn![li_date_time] (General Date Format)
In the table view the record shows only the date - but no time?
My target is to use a form with something like the following:
...."Where DatePart("n",[li_date_time]) > DatePart("n",Now())-2"
Saying: where the last logged in time was longer than 2 mins ago!
Even just using DatePart("n",[li_date_time]) simply results in an ambiguous
number.
Have I got this completely wrong? How do I set the field to reference both
date and time together?
Help appreciated.
This seems like it should be simple - so perhaps I have my STOOPID head on
today or something!
I am writing a login app and I need to record the date AND time the user
logged in. Sounds simple enough:
tblLoggedIn![li_date_time] (General Date Format)
In the table view the record shows only the date - but no time?
My target is to use a form with something like the following:
...."Where DatePart("n",[li_date_time]) > DatePart("n",Now())-2"
Saying: where the last logged in time was longer than 2 mins ago!
Even just using DatePart("n",[li_date_time]) simply results in an ambiguous
number.
Have I got this completely wrong? How do I set the field to reference both
date and time together?
Help appreciated.