D
DEI
I have a form with fields for entry of times in short time format. I would
like the user to enter only the 'short time' only, eg. '13:24', but then I
would like to actually store the data in the underlying table with the
complete date and time, eg. '7/24/2008 1:24 PM'.
I have code in the after update event that adds the date to the time:
Me.field1 = field1 + [Date]
However, the [Date] is actually a date entered in a field on another open
form that is an unbound control, in short date format. I sometimes get a
'type mismatch' error; the date entered in the unbound control is recognized
as text and not a date.
What is further problematic is that it does not always happen on all
workstations, i.e some users get the error and others do not.
Is there anything I can do to keep this from happenning?
Thanks in advance.
DEI
like the user to enter only the 'short time' only, eg. '13:24', but then I
would like to actually store the data in the underlying table with the
complete date and time, eg. '7/24/2008 1:24 PM'.
I have code in the after update event that adds the date to the time:
Me.field1 = field1 + [Date]
However, the [Date] is actually a date entered in a field on another open
form that is an unbound control, in short date format. I sometimes get a
'type mismatch' error; the date entered in the unbound control is recognized
as text and not a date.
What is further problematic is that it does not always happen on all
workstations, i.e some users get the error and others do not.
Is there anything I can do to keep this from happenning?
Thanks in advance.
DEI