developingprogrammer
asked on
bound date textbox, getting date and time from user
hey guys, i've got a bound date textbox. i want to get both date AND time from the user. and i want to ensure that the user fills in the time as well, not just leave it to default of 12:00:00 AM. what's the best way to do this? am sure yall have faced this countless times before!
what i'm thinking is - for the date part i'll use Allen Browne's calendar form to fill an unbound textbox. for the time part i'll use an unbound combobox and then i'll use the after update event to join these two together an populate a bound invisible textbox.
do yall think that's the best way to do it?
how can i avoid using vba code at all? is there any way to concatenate 2 unbound textbox values into a bound textbox?
thanks guys!! = ))
what i'm thinking is - for the date part i'll use Allen Browne's calendar form to fill an unbound textbox. for the time part i'll use an unbound combobox and then i'll use the after update event to join these two together an populate a bound invisible textbox.
do yall think that's the best way to do it?
how can i avoid using vba code at all? is there any way to concatenate 2 unbound textbox values into a bound textbox?
thanks guys!! = ))
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
whao gustav, really cool. using the events properties of the control itself. i never thought about that. and also being able to set the Cancel variable in the events property itself. very nice. thanks for opening up my mind once again gustav! = )
ASKER
if i set the control source of a textbox to the joining of the 2 textboxes' values then i cannot bind that textbox to the recordsource already.
i'm trying to figure out how to do this without code = ) thanks!!