C
CaptDD
I have a database that stores time in military short format. The input mast
for the data field on the data entry form is 00:00;0;_ If I enter a time
such as 06:35 the form accepts the data and puts it into the database.
Now the issue, when the time is saved in the database it drops the leading 0
(zero) storing it as 6:35. I have a duplicate record button on my form that
works only when the time saved contains four numbers such as 15:35. Any data
with time saved as above which was entered with a leading zero brings an
error message that the data entered does not match the input mask.
How do I get the database to hold the leading 0 (zero)? Or, how do I change
the imput mask so that it may or may not have the leading 0 (zero)?
for the data field on the data entry form is 00:00;0;_ If I enter a time
such as 06:35 the form accepts the data and puts it into the database.
Now the issue, when the time is saved in the database it drops the leading 0
(zero) storing it as 6:35. I have a duplicate record button on my form that
works only when the time saved contains four numbers such as 15:35. Any data
with time saved as above which was entered with a leading zero brings an
error message that the data entered does not match the input mask.
How do I get the database to hold the leading 0 (zero)? Or, how do I change
the imput mask so that it may or may not have the leading 0 (zero)?