Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Submit form by clicking on link

Status
Not open for further replies.

jasonhuibers

Programmer
Sep 12, 2005
290
CA
I have a list that is dynamically populated by a sql query. I want to be able to click on an item from the list and return the RecordNumber column from the query..
 
?!
in pseudo code:

Code:
<select>
<%
cSQL = "SELECT id,description from myTabel"
rs.open cSQL, conn
do while not rs.eof
 response.write "<option value=" & rs(0) & _
   ">" & rs(1) 
 rs.movenext
loop
%>
</select>

? but you want something else ? any code already?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top