Creating a data entry form, and need to have a timestamp of date and time appear in a textbox from code in the onclick event of that text box. I can get the date in the box using
Me.datebox = Date
And can get the time using
Me.datebox = Time
But if I use
Me.datebox = Date / Time
I get a date 3/18/2214 and no time.
In the property sheet for the control, under format, there is no date / time format listed. So how do I create a timestamp?
I have the field in the table that will receive the timestamp when updated formatted as Date/Time.
Thanks
Me.datebox = Date
And can get the time using
Me.datebox = Time
But if I use
Me.datebox = Date / Time
I get a date 3/18/2214 and no time.
In the property sheet for the control, under format, there is no date / time format listed. So how do I create a timestamp?
I have the field in the table that will receive the timestamp when updated formatted as Date/Time.
Thanks