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

Check Box States

Status
Not open for further replies.

techie99

Programmer
Apr 24, 2003
60
US
With check boxes what do the following states mean?

-1
0
1

Which one means checked and which one means unchecked?
 
The database table shows 0 and -1, but the check box on the form shows 0 and 1.
 
0 usually means false or unchecked in this case. 1 or -1 usually mean true or checked. Remember that there is also a third state (2 - Grayed).

zemp
 
Thanks, I was thinking that -1 should mean unchecked, hence the confusion. Thanks again. That definitely answered my question.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top