Feb 24, 2001 #1 wf Programmer Feb 1, 2001 32 US I need to add values to a select control (HTML DropDown Control) at run-time. Please help!!!
Apr 6, 2001 #2 foxbox Programmer Sep 11, 2000 1,052 NL sql = "SELECT CODE,DESCRIPTION FROM TEST" rs.open sql, Conn response.write "<select name=Select1>" &_ "<option value=XXX>--choose--" while not rs.eof response.write "<option value=" & rs(0) & ">" & rs(1) rs.movenext wend response.Write "</select>" br Gerard Upvote 0 Downvote
sql = "SELECT CODE,DESCRIPTION FROM TEST" rs.open sql, Conn response.write "<select name=Select1>" &_ "<option value=XXX>--choose--" while not rs.eof response.write "<option value=" & rs(0) & ">" & rs(1) rs.movenext wend response.Write "</select>" br Gerard