Option buttons in an option group will usually have values of 1 to the
number of buttons, for example, if your group has five option buttons, they
would have the values 1 to 5. I'm presuming your field is normally locked
and you want to unlock it with one of the option buttons. Put the following
code in the AfterUpdate event of the option group:
Select Case Me!NameOfOptionGroup
Case 1
<Do Something .....>
Case 2
<Do Something .....>
Case 3
Me!NameOfTextBoxBoundToField.Locked = False
Case 4
<Do Something .....>
Case 5
<Do Something .....>
End Select
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
Over 1100 users have come to me from the newsgroups requesting help
re******@pcdatasheet.com
<ts*****@cetusgroup.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
I need to have an option button that allows editing to a field only
when it is checked.