Feb 23, 2005 #1 jock95 Programmer Joined Feb 19, 2005 Messages 7 Location 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,
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,
Feb 23, 2005 #2 PHV MIS Joined Nov 8, 2002 Messages 53,708 Location FR 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 Upvote 0 Downvote
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
Feb 23, 2005 #3 bosk00 Technical User Joined Mar 5, 2004 Messages 91 Location US You can check for 0 for unchecked and -1 for checked. Alan Senility at its finest Upvote 0 Downvote
Feb 23, 2005 #4 traingamer Programmer Joined Jun 18, 2002 Messages 3,270 Location US WHERE ((([ckboxfiled])=True)); traingamer Upvote 0 Downvote