If you do a check in the following manner:
If chkbox1.Value = True Then
You are specifically checking if the Value propert equals True (-1) this is not the case though. You could however do this:
If chkbox1.Value Then
The above statement is true if the value property is not false (i.e any value besides zero).

So LG in real life a statement that is not zero is also not false. But the value property of a checkbox will never be equal to -1 so checking for True will newer be true. Checking for False will work however since the value False equals zero and the Value property of a checkbox can be set to zero.


------------------
Joacim Andersson
[email protected]
[email protected]
www.YellowBlazer.com