G
Guest
I am getting "Run-time error '2427': You entered an expression that has no
value" when I refer to an option button's value:
If Me.optFindAll.Value = vbTrue Then ...
However, I had set this option button as the default when I created the
option group. Do I still have to explicitely assign a default value to it in
code, before I can use it?
Also, what is there to gain by assigning unique OptionValue values to each
option button in a group if they have to be referred to individually, anyway?
(That is, if I have to test each option button to see if its value is true,
then what is the point of giving them OptionValues like 1 or 2 ?)
-- Confused
value" when I refer to an option button's value:
If Me.optFindAll.Value = vbTrue Then ...
However, I had set this option button as the default when I created the
option group. Do I still have to explicitely assign a default value to it in
code, before I can use it?
Also, what is there to gain by assigning unique OptionValue values to each
option button in a group if they have to be referred to individually, anyway?
(That is, if I have to test each option button to see if its value is true,
then what is the point of giving them OptionValues like 1 or 2 ?)
-- Confused