Query criteria for Yes/No table

jcaptchaos2

Well-known Member
Joined
Sep 24, 2002
Messages
1,032
Office Version
  1. 365
Platform
  1. Windows
I have a table that has part number, part name and a Yes/No field that the person puts a check mark in if they do not want it to come up in another query. I have a query that has three tables joined by an item number, what do I put in the criteria field for the Yes/No part of it. It does not seem to matter if I put yes or no it still pulls both with the check mark and without the check mark.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

giacomo

Well-known Member
Joined
Feb 20, 2002
Messages
1,796
the criteria should be Yes or No (no quotes) depending on which you want to return. If you tried that already please post your SQL so we can have a look at it.

hth,
Giacomo
 
Upvote 0

jcaptchaos2

Well-known Member
Joined
Sep 24, 2002
Messages
1,032
Office Version
  1. 365
Platform
  1. Windows
I ended up having to query the table and then add the query for the no's to the query I was using and now it works.
 
Upvote 0

Forum statistics

Threads
1,191,204
Messages
5,985,261
Members
439,953
Latest member
suchitha

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top