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

Query with boolean criteria?

Status
Not open for further replies.

chrisgreen

Programmer
Jun 28, 2000
61
GB
How can I do a query using the boolean Yes/No criteria.
I have tried the following
[activities]![completed] = -1
[activities]![completed] = No
[activities]![completed] = False
[activities]![completed] = "No" etc
what is the correct format?
 
Chris,

I personally use True/False when using boolean variable but, you can use -1 for true and 0 for false OR just Yes and No.



Bill Paton
william.paton@ubsw.com
Check out my website !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top