How to determine if an option button is set?

S

Seth

I have 4 option buttons within a frame (fraDateRange). I want to determine if
option button optLast3Years is set.

The following code is producing an error

If Me!optLast3Years.Value = True Then strData = "Option2 detected "

Thanks for any help.
Seth
 
Top