yes/no, option buttons

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
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?
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top