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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Check Box in Table for Query....

Status
Not open for further replies.

jock95

Programmer
Feb 19, 2005
7
0
0
US
I am needing to run a query based on whether a check box is checked or not. What is the code to do that?
"Is Not Null" does not work.

Thank you,
 
The value of a CheckBox object is a Boolean, so you test against Trye/False or Yes/No Or -1/0

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
You can check for 0 for unchecked and -1 for checked.

Alan
Senility at its finest
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top