Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Input Mask Datetime field error.

Status
Not open for further replies.

briangi

MIS
Sep 16, 2002
4
US
I have a form with a datetime field input mask.
99/99/9999\ 99:99\ AA;0;_

If a user enters a date of 01/01/2001 12:00 am and later tries to change the day 1 to 2 to make the date 01/02/2001 12:00 am they get an error message. If the user highlights and deletes the current value, and try to enter the new date they still get an error message. However, if they completely delete the field, tab or click on another field, and then come back to the datetime field, it will allow them to enter the date. Does anyone have an suggestions. Thanks.
 
I tried your input mask and it worked fine, allowing me to edit the previously entered contents without difficulty.

Are the field and form bound to a field in a table or are they unbound?

Rod
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top