este campo es de tipo numerico
estoy haciendo el mismo ejercicio
en otra lista lo unico diferente es q el tipo de dato es string y si me funciona este es el codigo
Código:
<select size="1" name="codigo_fill">
<option value="">Seleccione</option>
<%
strsql5 = "SELECT CODIGO,DESCRIPCION FROM FILLINGSYSTEM"
set rst5 = conn.execute(strsql5)
if not rst5.eof then
do while not rst5.eof %>
<option value="<%=rst5("CODIGO")%>" <% if rst5("CODIGO")=fill then response.write "selected"%>><%=rst5("CODIGO")%>--<%=rst5("DESCRIPCION")%></option>
<% rst5.movenext
loop
end if
%>
</select>