Option group values

  • Thread starter Thread starter Anna
  • Start date Start date
A

Anna

Hi,

Is it possible to assign words (instead of numbers) to an
option group? I'd like to keep the check boxes as opposed
to using a combo box, but have the descriptive vaules put
in the table.

Thanks,

Anna
 
To my knowledge, you cannot assign anything other than a
numeric value to an option in an option group. You can,
however, use the Tag property of the control to but your
text value.

If your option in the option group is "Blue," the option
value will still be 1, but you can put "Blue" in the tag
property. In your code, you'd reference:

If ctrl.Tag = "Blue" then
. . .

Hope this helps,
Crystal
 
Back
Top