Results 1 to 4 of 4
  1. #1
    Sjarko is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jan 2015
    Posts
    3

    Query on Yes/No field

    Hi,

    I am very new to Access and still on a very steep learning curve. I have a challenge now that I need help with please. This is for a real estate company. I have two tables: Table "Buyers" that lists the requirement of the buyers and Table "Properties" that lists the features of the available homes. Field "Pool" is a Yes/No field where the buyer indicates if the property must have a pool.

    The challenge is that if the buyer does not explicitly indicate that the property MUST have a pool, he may still like it if the property has a pool. So the query must only include the property if the property has a pool when the buyer definitely wants a pool, but include both properties with and without pools when the buyer indicated that a pool is not a requirement.

    In summary: If Pool field Checkbox is checked, only select properties with pools. If Pool field Checkbox is unchecked, include all properties.



    Many thanks for any assistance.

  2. #2
    Sjarko is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jan 2015
    Posts
    3
    Problem solved. I figured it out. It was actually very simple.

  3. #3
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Thanks for following up, and welcome to the site!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  4. #4
    Sjarko is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jan 2015
    Posts
    3
    Quote Originally Posted by pbaldy View Post
    Thanks for following up, and welcome to the site!
    Thank you very much.

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

Similar Threads

  1. Replies: 3
    Last Post: 01-04-2015, 03:00 PM
  2. Replies: 3
    Last Post: 07-09-2014, 06:39 AM
  3. Replies: 3
    Last Post: 03-26-2014, 10:49 AM
  4. Replies: 6
    Last Post: 04-26-2013, 10:07 AM
  5. Replies: 5
    Last Post: 06-19-2012, 10:46 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