I am trying to build a query in Access 2003 based upon a form that the users select's several checkbox's then displays the results in the query.
For example if i have a table like
Apples Pears Oranges Grapes
N Y N Y
Y N N N
Y Y Y N
When say apples is selected it will display all the rows which are true, if i select pears it will do the same. When i select apples and pears it will only display the rows that have both values to be true and not the one that only has the value true for one column. i have tried using the AND in my query and also OR but can't get it to do it how i want it. Any help would be appreciated as i have look and look and still can't get this to do what i want.
Thanks in advance
For example if i have a table like
Apples Pears Oranges Grapes
N Y N Y
Y N N N
Y Y Y N
When say apples is selected it will display all the rows which are true, if i select pears it will do the same. When i select apples and pears it will only display the rows that have both values to be true and not the one that only has the value true for one column. i have tried using the AND in my query and also OR but can't get it to do it how i want it. Any help would be appreciated as i have look and look and still can't get this to do what i want.
Thanks in advance