Results 1 to 5 of 5

Thread: Date Input Mask

  1. #1
    Join Date
    Apr 2004
    Posts
    182

    Unanswered: Date Input Mask

    What do I use as an input mask so that users can enter the date as 2/3/04 or 12/3/04 ie not forcing 02/02/04. I have tried 0/0/00;0# but that doest allow 12/10/04 etc

  2. #2
    Join Date
    Sep 2003
    Location
    MI
    Posts
    3,713
    Quote Originally Posted by livvie
    What do I use as an input mask so that users can enter the date as 2/3/04 or 12/3/04 ie not forcing 02/02/04. I have tried 0/0/00;0# but that doest allow 12/10/04 etc
    Try:

    99/99/00;0;
    Back to Access ... ADO is not the way to go for speed ...

  3. #3
    Join Date
    Apr 2004
    Posts
    182
    that forces me to enter 2 digits for day and month

  4. #4
    Join Date
    Sep 2003
    Location
    MI
    Posts
    3,713
    Quote Originally Posted by livvie
    that forces me to enter 2 digits for day and month
    Not exactly ... When putting in the date, if you want only single digits you have to explicitly enter in the the slashes ... This mask doesn't FORCE you to enter 2 digits. It has placeholders for 2 digits ... From what I've seen, this is the best that you can get (outside of no mask at all and testing for valid dates thru the events) ...
    Back to Access ... ADO is not the way to go for speed ...

  5. #5
    Join Date
    Apr 2004
    Posts
    182
    Thanks M.
    Works fine if you enter the /'s too.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •