- (post 1)
I have a questions database. On my Form, I have an Option Group with 4 toggles for the correct answers. Each of the toggles, is tied to the Answer's column in the database. Currently, I have Shape Effect => Bevel => Circle for all 4 buttons no matter what their value is. I cannot figure out a way to change to Shape Effect => Bevel => Relaxed Inset if a specific toggle button is set to the Answer.
- (post 2)
I have an option group with four toggle buttons. I am trying to change the shape of the toggle button based on the value of the option group.
-
[imgnothumb]http://bytes.com/attachment.php? attachmentid=75 80 [/imgnothumb]
I have a questions database. On my Form, I have an Option Group with 4 toggles for the correct answers. Each of the toggles, is tied to the Answer's column in the database. Currently, I have Shape Effect => Bevel => Circle for all 4 buttons no matter what their value is. I cannot figure out a way to change to Shape Effect => Bevel => Relaxed Inset if a specific toggle button is set to the Answer.
- (post 2)
I have an option group with four toggle buttons. I am trying to change the shape of the toggle button based on the value of the option group.
Code:
Private Sub optgroup_Answers_BeforeUpdate() Select Case Me.optgroup_Answers Case 1 Me.toggleA.Bevel = BevelEffectRelaxedInset Case 2 Me.toggleB.Bevel = BevelEffectRelaxedInset Case 3 Me.toggleC.Bevel = BevelEffectRelaxedInset Case 4 Me.toggleD.Bevel = BevelEffectRelaxedInset End Select End Sub
[imgnothumb]http://bytes.com/attachment.php? attachmentid=75 80 [/imgnothumb]
Comment