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!

Using Yes/No checkboxes in queries

Status
Not open for further replies.

suzyg

Technical User
Oct 23, 2007
9
0
0
CA
I've just set up a database in access 2000 and need to do a query on whether a payment has been made. The table field is a yes/no checkbox. Does anyone know how to set the criteria ( I'm not very good at SQL) so that only the unpaid bills are listed?? Please?!
 
In your criteria, enter any one of the following
Code:
Yes
True
-1
 
If your field is called PAYMENT_PAID in the criteria you should say: NOT PAYMENT_PAID.
 
.....Or, if the checked box indicates a payment has been made and you're looking for unpaid accounts:
Code:
No
False
0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top