access_asp thread: Problem in Adding values to the table thru a drop down.
My situation is as follows.
set objrs=server.createobject("adodb.recordset")
objrs.open "cdrom",objconn
response.write"<table border=1 bgcolor=#808000>"
response.write"<tr>"
response.write"<td>"
response.write request("chosenrec")
response.write "</td>"
response.write "</tr>"
response.write"</table>"
response.write"<a href=""addval_dropdown.asp"">" &"click here to add more
values to the dropdown" &"</a>"
%>
<html>
<body>
<form action="" method="post" >
<select name="chosenrec">
<%
objrs.movefirst
while not objrs.eof
response.write"<option value=" &objrs("cdrom") &">" &objrs("cdrom")
&"</option>"
objrs.movenext
wend
response.write"</select>"
response.write"<input type=""submit"" value=""submit"">"
%>
</form>
</body>
</html>
now a value is grabbed from a drop down menu with various values.. when
the user clicks on the value and clicks submit the value come on the
screen. What i want is when he choses another value evn that value should
appear on the screen ..
how should i do this ..
Please help
Shabbir Hussain