Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

run a query on if a checkbox is checked

Status
Not open for further replies.

ivalum21

MIS
Jul 14, 2004
63
US
I am drawing a blank on how I run a query on if a checkbox is checked.

I have a table of people, and in that table is a column that specifies if they are a "Leader", if it's checked, they are a leader.

I want to run a query on all the "Leaders" in the table...how do i do this?

thanks for any help you can give me.
 
SELECT * FROM tblPeople WHERE chkbox = -1

Hope this helps.

-------------------------
Just call me Captain Awesome.
 
Okay, I just figured it out...

In design view of your query, under criteria you put:
Code:
=Yes

That will display all the checkbox's that are checked.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top