Results 1 to 3 of 3
  1. #1
    intheflesh77 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2013
    Posts
    2

    Cannot set validation rule on Date/Time type

    I need to restrict data input to the following: "09:00" Or "11:00" Or "13:30" Or "15:30"

    This rule works when the data type is set to text, but not on Date/Time with short date set as format

    I cannot understand why?



    Can anyone help me get a Date/Time type to accept only one from these four values.

  2. #2
    intheflesh77 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2013
    Posts
    2
    Found solution:

    #09:00:00# Or #11:00:00# Or #13:30:00# Or #15:30:00#

  3. #3
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Thanks for posting your solution and welcome to the site!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 1
    Last Post: 05-29-2013, 04:01 PM
  2. Validation rule for time
    By jle0003 in forum Access
    Replies: 3
    Last Post: 05-22-2012, 02:45 PM
  3. Time and Date Validation
    By KEVWB in forum Access
    Replies: 1
    Last Post: 03-06-2011, 08:31 AM
  4. Validation Rule
    By Megan in forum Access
    Replies: 1
    Last Post: 11-05-2010, 09:45 AM
  5. Validation Rule: Date
    By krymer in forum Access
    Replies: 0
    Last Post: 08-27-2008, 03:30 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