Results 1 to 4 of 4

Thread: Date Validation

  1. #1
    Join Date
    Oct 2007
    Posts
    225

    Question Unanswered: Date Validation

    Hi All,

    I'm drawing a blank here. How would I validate a text box to ensure the user enters a date that is within the current calendar quarter, and previous. The date just can not be a future quarter. It can either be a current quarter or previous.

    Thank you!

  2. #2
    Join Date
    Feb 2004
    Location
    New Zealand
    Posts
    1,476
    Provided Answers: 11
    Look in the Form Data TAB Validation Rule and Validation Text

    dont forget to add to the TABLE also

    only for when you add said feild to a new from the rules will go with it.
    hope this help

    StePhan McKillen
    the aim is store once, not store multiple times
    Remember... Optimize 'til you die!
    Progaming environment:
    Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010
    VB-NET based on my own environment started 2007
    SQL-2005 based on my own environment started 2008
    YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.
    DONT WORRY ABOUT THOSE WHO TALK BEHIND YOUR BACK
    THEY'RE BEHIND YOU FOR A REASON

  3. #3
    Join Date
    Oct 2007
    Posts
    225
    I only need this particular value added to one field. Is there coding I can put in the beforeupdate event? Thanks!

  4. #4
    Join Date
    Feb 2004
    Location
    New Zealand
    Posts
    1,476
    Provided Answers: 11
    I would put into the Validation Rule and Validation Text

    If you want to put in code put a check in the Afterupdate event on said feild
    Last edited by myle; 03-19-17 at 14:14.
    hope this help

    StePhan McKillen
    the aim is store once, not store multiple times
    Remember... Optimize 'til you die!
    Progaming environment:
    Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010
    VB-NET based on my own environment started 2007
    SQL-2005 based on my own environment started 2008
    YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.
    DONT WORRY ABOUT THOSE WHO TALK BEHIND YOUR BACK
    THEY'RE BEHIND YOU FOR A REASON

Posting Permissions

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