date masking on form

G

Guest

I would like to mask a date to allow a user to enter one digit to two digits
for the month and day and one digit for the year. I can do 99/99/9, but then
they have to enter a zero in front of one-digit month and years. They seem to
have a problem with that. I can concatenate a zero in if necessary, but that
seems silly to me. How can I have a leading zero in month/day ? thanks-
 
R

Rick B

Is this Control bound to a date/time field in your tables? If so, set the
field's format to "ShortDate". Access will handle the rest.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top