Results 1 to 4 of 4
  1. #1
    Lance H is offline Novice
    Windows 11 Office 365
    Join Date
    Feb 2025
    Location
    Delaneys Creek, Queensland, Australia
    Posts
    5

    Yes/No Checkbox (Query) ....

    In the design view of a query, I am unable to establish what 'criteria' is used to indicate who has checked 'yes'. The 'like' criteria doesn't work (Like "*/true/*"). I am a basic Access user fumbling my way through putting together a database for my car club. Nothing is meant to be easy!! Thank you.

  2. #2
    davegri's Avatar
    davegri is offline Excess Access
    Windows 11 Access 2021
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,739
    = True

    use = instead of Like and drop the quotes

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 11 Access 2021
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    You want to filter data on yes/no field and retrieve only those that are yes (true)?

    Just type True (or -1) in the Criteria box. Access won't even retain = sign in Design view - it will show in SQL view.
    Last edited by June7; 07-10-2025 at 09:21 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.

  4. #4
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,550
    O/P posted back in wrong thread.

    https://www.accessforums.net/showthread.php?t=36062
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

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

Similar Threads

  1. Yes No Checkbox in Query
    By buckwheat in forum Forms
    Replies: 4
    Last Post: 07-10-2025, 02:08 AM
  2. Replies: 4
    Last Post: 09-15-2020, 05:15 AM
  3. Replies: 1
    Last Post: 11-26-2014, 02:30 PM
  4. Replies: 7
    Last Post: 04-14-2014, 01:44 PM
  5. Yes/No, If yes Enter Number
    By kennyrogersjr in forum Forms
    Replies: 1
    Last Post: 11-29-2010, 07:37 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