Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/06/2002, 11:15
Avatar de bakanzipp
bakanzipp
 
Fecha de Ingreso: noviembre-2001
Ubicación: santiago de shilli
Mensajes: 2.554
Antigüedad: 23 años, 5 meses
Puntos: 0
Re: Todavia No Funciona

si depende del resultado de un sql tienes que hacer esto en el combo

Código:
<%set RS=conex(TU_SQL)
if not rs.eof then%>
<select name=lista>
<option <%if rs("tu_dato")="dato_1" then%> selected <%end if%>dato_1</option>
<option <%if rs("tu_dato")="dato_2" then%> selected <%end if%>dato_2</option>
<option <%if rs("tu_dato")="dato_3" then%> selected <%end if%>dato_3</option>
<option <%if rs("tu_dato")="dato_4" then%> selected <%end if%>dato_4</option>
</selected>
<%end if%>
algo asi ;)