Jediknight
New member
- Local time
- Today, 00:16
- Joined
- Jul 11, 2019
- Messages
- 15
Hello,
I’m currently putting together on a form 2 option groups with 5 options each.
The result of the selection of the radio buttons produce a statement in a text box. A radio button have to be selected in each of the option group.
Therefore there is 25 possible statements.
I’ve associated a value from 1 to 5 for option group 1 and from 6 to 10 for option group 2.
Here is what I have for now.
Private Sub Form_AfterUpdate()
Select Case True
Case 1
OptionGroup1 = 1 And OptionGroup2 = 6
Textbox = “Result for option 1 and 6 selected”
Case 2
OptionGroup1 = 1 And OptionGroup2 = 7
Textbox = “Result for option 1 and 7 selected”
.
.
.
.
End select
End sub
The problem is that nothing shows up in the Textbox !?
Note : I dont mind doing the 25 cases :/ the problem is that I cant even make it work with 2 cases
Thank you for the assistance.
Best regards.
Sent from my iPhone using Tapatalk
I’m currently putting together on a form 2 option groups with 5 options each.
The result of the selection of the radio buttons produce a statement in a text box. A radio button have to be selected in each of the option group.
Therefore there is 25 possible statements.
I’ve associated a value from 1 to 5 for option group 1 and from 6 to 10 for option group 2.
Here is what I have for now.
Private Sub Form_AfterUpdate()
Select Case True
Case 1
OptionGroup1 = 1 And OptionGroup2 = 6
Textbox = “Result for option 1 and 6 selected”
Case 2
OptionGroup1 = 1 And OptionGroup2 = 7
Textbox = “Result for option 1 and 7 selected”
.
.
.
.
End select
End sub
The problem is that nothing shows up in the Textbox !?
Note : I dont mind doing the 25 cases :/ the problem is that I cant even make it work with 2 cases

Thank you for the assistance.
Best regards.
Sent from my iPhone using Tapatalk