It would make more sense to use a nested Select statement:-
- Code: Select all
<%
strType = request.form("Type")
strLevel = request.form("Level")
Select Case StrType
Case "Type A"
Select Case StrLevel
Case "Level 1" myQuote = "8.60"
Case "Level 2" myquote = "10.20"
End Select
Case "Type B"
Select Case StrLevel
Case "Level 1" myQuote = "18.60"
Case "Level 2" myquote = "110.20"
End Select
Case Else myQuote = "2"
End Select
%>
I'm sure you get the idea.