Hello. I have a control Array of option buttons. I'd like to use them
in a Case statement, but I can't get it to work. I can only seem to get
it working if I use an if-then-else structure, like so:
If optFinishType(0 ) Then
TotalAccess = TotalAccess + mcurStandard
ElseIf optFinishType(1 ) Then
TotalAccess = TotalAccess + mcurPearl
ElseIf optFinishType(2 ) Then
TotalAccess = TotalAccess + mcurDetailing
End If
This structure is currently in the click-event of a command button, but
I was wondering if I can place it in the click event of the option
button. Do you think that would be better?
in a Case statement, but I can't get it to work. I can only seem to get
it working if I use an if-then-else structure, like so:
If optFinishType(0 ) Then
TotalAccess = TotalAccess + mcurStandard
ElseIf optFinishType(1 ) Then
TotalAccess = TotalAccess + mcurPearl
ElseIf optFinishType(2 ) Then
TotalAccess = TotalAccess + mcurDetailing
End If
This structure is currently in the click-event of a command button, but
I was wondering if I can place it in the click event of the option
button. Do you think that would be better?
Comment