Results 1 to 2 of 2
  1. #1
    Eranka is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Dec 2017
    Posts
    150

    Ignore Certain Values

    Hi

    i am trying to show the data values between 0 and 4 hours, but within these limits i want to ignore data if the Session_ID = Evening and Acceted_Hours = 3:00. how to do this part?

    Code:
    Like (>#12:00:00 AM# And <=#3:59:00 AM#) And Not ([Session_ID]="Evening" And [Accepted_Hours]=#3:00:00 AM#)
    i tried above but not working. **this is to include in a access query**

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    LIKE is only useful with wildcard character.

    Try:

    [Accepted_Hours]>#12:00:00 AM# And [Accepted_Hours]<=#3:59:00 AM# And Not ([Session_ID]="Evening" And [Accepted_Hours]=#3:00:00 AM#)
    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. Ignore duplicates in one field only
    By inhops in forum Queries
    Replies: 2
    Last Post: 06-10-2015, 02:30 AM
  2. Combo List Values to Ignore Certains Records
    By breakingme10 in forum Queries
    Replies: 5
    Last Post: 01-16-2014, 01:43 PM
  3. Criteria Needs to Ignore Weekends
    By RichardAnderson in forum Queries
    Replies: 41
    Last Post: 08-30-2013, 08:22 AM
  4. Lowercase and ignore
    By rmd62163 in forum Access
    Replies: 7
    Last Post: 07-31-2013, 06:35 PM
  5. How to Ignore Err 2501
    By Jojojo in forum Reports
    Replies: 3
    Last Post: 11-11-2011, 06: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