R
r_jayson
How can I populate other fields from a user option selection? All info is
already in a db. My select code is below. Thanks.
<select name="eventname"
onChange="goType(this.options[this.selectedIndex].value);">
<option value="">Select Physician</option>
<%
sql = "SELECT * from Calendars order by EventName"
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open sql, conn, 3, 3
do while not rs.eof
%>
<option name="eventname" value="<%=rs("eventname")%>"><%= rs("eventname")
%></option>
<%
rs.movenext
Loop
%>
<%
rs.close
set rs = nothing
%>
</select>
already in a db. My select code is below. Thanks.
<select name="eventname"
onChange="goType(this.options[this.selectedIndex].value);">
<option value="">Select Physician</option>
<%
sql = "SELECT * from Calendars order by EventName"
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open sql, conn, 3, 3
do while not rs.eof
%>
<option name="eventname" value="<%=rs("eventname")%>"><%= rs("eventname")
%></option>
<%
rs.movenext
Loop
%>
<%
rs.close
set rs = nothing
%>
</select>