G
Guest
Forgive me, I'm new to Access,
I'm after getting a text output from a option button in a group rather than
a number,
I have three option buttons called "Option1", "Option2" and "Option3" within
an Option Group frame called "Frame1". The Frame is linked to table called
"Master" and the control source is named "High".
I searched previous posting and got the code as follows, that is within a
module called "Module1".
Private Sub Frame1_AfterUpdate()
Select Case Frame1
Case 1
Me.High = "High"
Case 2
Me.High = "Low"
Case 3
Me.High = "N/A"
End Select
End Sub
This transfers the text when an option button is selected, but the option
button does not go black but grayed out instead, the problem I have is when I
move to another field on the form, all three checkboxes grey out.
How can I alter the code so that the option button goes black and stays that
way when tabbing to the next field?
Hope that makes sense!
I'm after getting a text output from a option button in a group rather than
a number,
I have three option buttons called "Option1", "Option2" and "Option3" within
an Option Group frame called "Frame1". The Frame is linked to table called
"Master" and the control source is named "High".
I searched previous posting and got the code as follows, that is within a
module called "Module1".
Private Sub Frame1_AfterUpdate()
Select Case Frame1
Case 1
Me.High = "High"
Case 2
Me.High = "Low"
Case 3
Me.High = "N/A"
End Select
End Sub
This transfers the text when an option button is selected, but the option
button does not go black but grayed out instead, the problem I have is when I
move to another field on the form, all three checkboxes grey out.
How can I alter the code so that the option button goes black and stays that
way when tabbing to the next field?
Hope that makes sense!