G
Guest
Is it possible to have multiple testexpressions in a select case statement?
I want to interrogate the value of two radio buttons at once.
ex: Select Case (rdoTefraYes.Checked And rdoRetireeYes.Checked)
Case Is = True And False, Is = False And False
true and false ends up here and is ok
false and false ends up here and is ok
false and true ends up here and I expect it to show up in
the next case
Case Is = True And True, Is = False And True
true and true ends up here and is ok
This does not generate an error message, but does not seem to work either.
Three out of the four seem to work ok. Has anybody experienced this problem?
If so did you figure out a solution?
Please advise.
Thanks in advance.
Doug
I want to interrogate the value of two radio buttons at once.
ex: Select Case (rdoTefraYes.Checked And rdoRetireeYes.Checked)
Case Is = True And False, Is = False And False
true and false ends up here and is ok
false and false ends up here and is ok
false and true ends up here and I expect it to show up in
the next case
Case Is = True And True, Is = False And True
true and true ends up here and is ok
This does not generate an error message, but does not seem to work either.
Three out of the four seem to work ok. Has anybody experienced this problem?
If so did you figure out a solution?
Please advise.
Thanks in advance.
Doug