yes/no, option buttons

B

Brian

I have 20 option buttons and i'm trying to assing a value of 1 for yes or on
and 0 or no or off. but can't get it to work. Can someone help?
 
W

Wayne Morgan

How do you have them placed? Are they in an "option group"? If so, if
they're all in the same option group, you can only get one value returned
from the group, so each option button will have its own unique value within
the group.

Can you give a better explanation of what you're trying to do?
 
D

Damien McBain

Brian said:
I have 20 option buttons and i'm trying to assing a value of 1 for
yes or on and 0 or no or off. but can't get it to work. Can someone
help?

Option buttons have a value of -1 for true or yes, and 0 fo false or no (and
null if it's triplestate). If you're using the value in code or a
calculation, you can always take the absolute value.
 
Top