I'm unsure how I would do it... Since the user need to pick a date and the
time the machine went down, don't I have to use two fields? I have a little
calendar on my form and then also a drop down to pick a time... Are you
suggesting that I should combine the two fields after the user has entered
the info and store the data in one field?
Thanks,
Helen
> It's still better to combine date and time into a single field. If you
> really need just the date, or just the time, you can use the DateValue or
[quoted text clipped - 55 lines]
> >> Please respond only to this newsgroup.
> >> I do not reply to personal e-mail
>Since the user need to pick a date and the
>time the machine went down, don't I have to use two fields?
No. If it's a textbox, the user can type 11/15/2005 11:30am into it
and it will work just fine.
>I have a little
>calendar on my form and then also a drop down to pick a time... Are you
>suggesting that I should combine the two fields after the user has entered
>the info and store the data in one field?
Yep. Just have a textbox (which can be invisible) bound to the
UpDateTime field; in the AfterUpdate event of your calendar control
and time combo box, set its value to the sum of the date and the time.
Access stores date/time data as a double float number, a count of days
and fractions of a day (times) since midnight, December 30, 1899.
John W. Vinson[MVP]
Mary - 08 Dec 2005 20:10 GMT
Ah. I get it! I will fix.
Thanks!
Mary
> >Since the user need to pick a date and the
> >time the machine went down, don't I have to use two fields?
[quoted text clipped - 15 lines]
>
> John W. Vinson[MVP]