Results 1 to 4 of 4
  1. #1
    Coors is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2011
    Posts
    7

    Filtering time

    I have a column that gives the time of an operation ie. "5:06:50 AM" All the data is based on a 12 hour clock (not military time)

    In the Criteria: area how do I sort between 5am-5pm? I tried "Between 5:00:00AM and 5:00:00PM", but it did like it

    Thanks,
    Last edited by Coors; 09-27-2011 at 06:18 AM.

  2. #2
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272
    It has to have the octothorpes (#) too:

    Between #5:00:00 AM# And #5:00:00 PM#

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,625
    Assumes field is date datatype. Text type won't work.

    Octothorpes - that certainly expands my vocabulary!
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  4. #4
    Coors is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2011
    Posts
    7
    Quote Originally Posted by boblarson View Post
    It has to have the octothorpes (#) too:

    Between #5:00:00 AM# And #5:00:00 PM#
    Worked great, Thanks.

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

Similar Threads

  1. Replies: 7
    Last Post: 08-04-2011, 07:49 PM
  2. Filtering
    By BannedOak in forum Access
    Replies: 9
    Last Post: 05-22-2011, 02:10 PM
  3. Time: How to increment time in form
    By dek in forum Forms
    Replies: 1
    Last Post: 05-07-2011, 12:47 AM
  4. Replies: 12
    Last Post: 02-22-2011, 03:39 PM
  5. filtering
    By nashr1928 in forum Forms
    Replies: 12
    Last Post: 07-01-2010, 06:30 AM

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