Dates and times

bjackson

Registered User.
Local time
Tomorrow, 07:57
Joined
Jan 3, 2003
Messages
404
I have a form where the user has to select a date then select a time for
a specific task to be done.I want to store this value in 1 date/time field in a table, but am having trouble joining the two values together to form a valid
date.
The date TxtBox on the form has its format set as long date,and the time TxtBox :) format is medium time.
Can anybody help

thanks in advance
 
bjackson,

You should just be able to:

Me.DateTimeField = Me.ShortDate & " " & Me.LongTime

Wayne
 
Thank you Wayne, that works
i had used Me.DateTimeField = Me.ShortDate & Me.LongTime, i didnt realise
it needed the space in between the 2 values
 

Users who are viewing this thread

Back
Top Bottom