well, doesn't your script look just the same as mine?

if some control can have only 1 or 0 that most likely is a control for selecting.
and isn't that what you are after?

is there a problem with that?

you could post your current total code and tell what is missing from there...

anyway, hope that I'm not messing your head... here just to help.
_________________________
!

download KiXnet