PDA

View Full Version : Solved: Triple Value Check Boxes



ProteanBeing
02-13-2008, 07:04 AM
I have a checkbox (let's call it CB1) that is set up for triple value. I know that the greyed value is null but when I attempt to use an if statement:

if CB1.value=null then
' Enter code
end if

I get an "Invalid use of Null" error. I then tried this:

if CB1.value is null then
' Enter Code
end if

And I got an "object required" error. I'm at a loss for how to do this. Please help.

ProteanBeing
02-13-2008, 07:13 AM
Nevermind. I got it. For those who were curious there is a function called IsNull(value) that returns a boolean.