Hi all,
I have a dropdown list that I want to fill with 24 months something like:
<%
sql="Select distinct Months from Table1"
rs.open sql,conn
%>
<select id="Date" name="Date">
<%
for intColumn = 1 to 24
Response.write "<option value="& rs.Fields(intColumn) &">" & rs.Fields(intColumn) &"</option>"
next
%>
</select>
What have I missed?
/Kent J.
I have a dropdown list that I want to fill with 24 months something like:
<%
sql="Select distinct Months from Table1"
rs.open sql,conn
%>
<select id="Date" name="Date">
<%
for intColumn = 1 to 24
Response.write "<option value="& rs.Fields(intColumn) &">" & rs.Fields(intColumn) &"</option>"
next
%>
</select>
What have I missed?
/Kent J.