Find unchecked checkboxes

E

EllenM

Hello,
I have a table with text field and 5 checkboxes in Access 2003. I'd like to
find all the records with all the checkboxes unchecked.

Thanks in advance for your help,
Ellen
 
K

KARL DEWEY

Try this --
SELECT [TextBox]
FROM YourTable
WHERE [Check1] + [Check2] + [Check3] + [Check4] + [Check5] = 0;
 
J

Jerry Whittle

SELECT CheckBoxes.*
FROM CheckBoxes
WHERE ([YesNo1]+[YesNo2]+[YesNo3]+[YesNo4]+[YesNo5]) = 0 ;

Put in the correct table and field names.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top