I would like to know if an .asp case statement can contain HTML elements. I
am building an application that I would like to have dynamic choices. The
dynamic part would be built in the a case statment that will output based
upon the value of the option evaluated. This example only shows one case
statement but there are eight case statements.
Thanks for any insight!
Tom
If Not objRs.EOF Then
Do While Not objRs.EOF
Select Case mvar
Case 2
<TABLE BORDER=0 WIDTH=700;">
<TR>
<TD align="left" vAlign="top" WIDTH="50%" colSpan=2>Extra Comments</TD>
<TD align="left" vAlign="top" WIDTH="50%" colSpan=2>Include in Month
End Report</TD>
</TR>
<TR>
<TD align="left" vAlign="top" WIDTH="50%" colSpan=2>
<INPUT type=text value=1 name=test1></TD>
<TD align="left" vAlign="top" WIDTH="50%" colSpan=2>
<INPUT TYPE="RADIO" NAME="test2" VALUE="IncludeMonthEnd" /></TD>
</TR>
</TABLE>
<!--> Missing record processing in each case statement and the balance of
the eight case statements -->
objRs.MoveNext
Loop
End If