Results 1 to 2 of 2
  1. #1
    Bdowns is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Feb 2012
    Posts
    28

    Query time for records with whole minute entries


    The records in my time field are formatted as hh:nn:ss. I want to query only records that fall on exact minutes (ex: 2:20:00). How do I query so that I only get results that end in (:00). thanks

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    One way is to extract the seconds part from the time and set criteria as 0.

    Is your time field a date/time datatype? Construct a field in query with expression: Format(fieldname,"s")
    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.

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

Similar Threads

  1. Query not showing all entries
    By HeadGasket in forum Queries
    Replies: 5
    Last Post: 02-09-2012, 05:21 PM
  2. Calculating Overtime hours from Time entries
    By weshader in forum Programming
    Replies: 3
    Last Post: 11-13-2011, 01:08 AM
  3. Finding and counting (not records but entries)
    By gpbanseo in forum Queries
    Replies: 3
    Last Post: 07-14-2011, 04:35 AM
  4. Inventory Level Query With No Entries
    By robsworld78 in forum Queries
    Replies: 12
    Last Post: 06-18-2011, 02:10 AM
  5. Replies: 1
    Last Post: 10-22-2010, 01:29 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