Results 1 to 5 of 5
  1. #1
    pip is offline Novice
    Windows 8 Access 2013
    Join Date
    Aug 2015
    Posts
    3

    Newbie needs help with Validation rule.

    I have a question about setting a validation rule .I am new to this and I have been given a task to do and I can't work it out.
    I have to do a default date of todays date. which I have done. But I dont know how to do the validation rule so no future dates can be keyed in. Or how to create a suitable Validation text.



    Could someone help me. Thanking you in advance. Pip

  2. #2
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,845
    a validation rule is written much like any other formula

    e.g.

    <=date()

    means the user can only enter a value less than or equal to today

    then you would add some meaningful text to the validation text as a message e.g.

    'Cannot be later than today'

    - note, quotation marks not required

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850
    pip,
    In addition to ajax's answer -- don't underestimate the value of Google/Bing

    Here is a Google identified link for search term "msaccess validation rule"

    Good luck with your project.

  4. #4
    pip is offline Novice
    Windows 8 Access 2013
    Join Date
    Aug 2015
    Posts
    3

    thankyou

    Quote Originally Posted by Ajax View Post
    a validation rule is written much like any other formula

    e.g.

    <=date()

    means the user can only enter a value less than or equal to today

    then you would add some meaningful text to the validation text as a message e.g.

    'Cannot be later than today'

    - note, quotation marks not required

    THankyou very much appreciate your reply

  5. #5
    pip is offline Novice
    Windows 8 Access 2013
    Join Date
    Aug 2015
    Posts
    3
    Thankyou for the link. Appreciate it. Pip

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Using VBA instead of Validation Rule
    By Mearntain in forum Access
    Replies: 16
    Last Post: 07-23-2015, 01:48 PM
  2. Validation rule
    By ScottXe in forum Forms
    Replies: 1
    Last Post: 07-19-2015, 04:09 AM
  3. Replies: 2
    Last Post: 06-16-2015, 03:52 AM
  4. Validation Rule
    By noob123 in forum Access
    Replies: 1
    Last Post: 12-02-2013, 03:39 PM
  5. Validation Rule Help!
    By confidego in forum Access
    Replies: 8
    Last Post: 07-20-2011, 12:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums