Results 1 to 2 of 2
  1. #1
    protean_being is offline Novice
    Windows XP Access 2003
    Join Date
    May 2008
    Posts
    9

    Show some or all

    I have a True/False field in a table called Remakes.


    I have a form that has a combobox called cbo_Remakes.
    The combo box has the values "All", "True", "False"
    The form has a button that activates a query (for a report).
    Basically what I want is to filter by True or False (which works, I'm using the switch statement) or select "All" to not filter.
    How do I tell the criteria to select all records?

  2. #2
    Join Date
    May 2008
    Location
    North Charleston, SC
    Posts
    20
    try this for the criteria for ALL:

    SELECT *
    FROM table where truefalsefield is not null

    does that help?

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

Similar Threads

  1. Replies: 4
    Last Post: 10-29-2008, 11:53 AM
  2. Show a new image per record in a form
    By Bert Colourama in forum Forms
    Replies: 0
    Last Post: 09-25-2008, 05:22 AM
  3. show difference of amounts in a report
    By taniuca in forum Reports
    Replies: 0
    Last Post: 08-07-2008, 06:58 PM
  4. Replies: 5
    Last Post: 05-02-2006, 11:25 AM
  5. All Data wont show
    By Wrangler in forum Queries
    Replies: 1
    Last Post: 01-02-2006, 03:27 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