J
Josh
Users input receipts on a form, which has a Date/Time field. The
Date/Time field has default value of Now when form loads. But, the
default time of the Date/Time stays at that same value, of course,
until the Form closes. Because the receipts cover several days or even
a week, and then user catches up all at once, I can't update the
Date/Time through code when they actually Post (add the record). The
user has to input the correct Date/Time of the receipt.
I'm getting problems in user clicking or tabbing into the Date/Time
field, and only putting the Date in, which makes the time 12:00. I
could probably solve that by putting in a mask or something, but then
I realized that I also have the problem of the same Time being put on
all Receipts, because of the Default value.
What I would like is; user can change Date, but Time is being
continually updated on its own. The reason for keeping control on
Time is because of some Printing that goes on, the Print code looks to
the Time. (print report of all receipts posted since such and such
Date/Time).
Any suggestions? I can separate the Date and Time fields into two
unbound fields on the form, and then put both into actual Date/Time
field, but don't have any idea how to continaully update Time field.
Thanks, Josh
Date/Time field has default value of Now when form loads. But, the
default time of the Date/Time stays at that same value, of course,
until the Form closes. Because the receipts cover several days or even
a week, and then user catches up all at once, I can't update the
Date/Time through code when they actually Post (add the record). The
user has to input the correct Date/Time of the receipt.
I'm getting problems in user clicking or tabbing into the Date/Time
field, and only putting the Date in, which makes the time 12:00. I
could probably solve that by putting in a mask or something, but then
I realized that I also have the problem of the same Time being put on
all Receipts, because of the Default value.
What I would like is; user can change Date, but Time is being
continually updated on its own. The reason for keeping control on
Time is because of some Printing that goes on, the Print code looks to
the Time. (print report of all receipts posted since such and such
Date/Time).
Any suggestions? I can separate the Date and Time fields into two
unbound fields on the form, and then put both into actual Date/Time
field, but don't have any idea how to continaully update Time field.
Thanks, Josh