<%
'assuming you have your recordset
response.write ("<select name=""blah"">" & vbCrLf)
while not rs.eof
response.write ("<option value=""" & rs("value") & """>" &
rs("displayName") & "</option>" & vbCrLf)
rs.movenext
wend
response.write ("</select>"
%>
HTH
-----Original Message-----
From: Ricki Williams [mailto:[EMAIL PROTECTED]]
Sent: Sunday, August 11, 2002 2:21 AM
To: ActiveServerPages
Subject: preselect dropdown
How can I set the initially selected value in a drop down box to a value
from my recordset like I can for a text box?
I can't seem to figure this one out.
ricki
---
You are currently subscribed to activeserverpages as:
[EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%
---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]