Ver Mensaje Individual
  #3 (permalink)  
Antiguo 26/05/2004, 04:08
DAVIIID
 
Fecha de Ingreso: mayo-2004
Mensajes: 40
Antigüedad: 21 años
Puntos: 0
El código que tengo es esto. Como se puede controlar es algo muy sencillo. Antes me lo hacía, pero no sé que toqué en Panel de Control / Herramientas Administrativas / Orígen de datos ODBC... que no me lo detecta. Por eso pregunté a ver si se pueden instalar controladores otra vez, ...

<%
Set Cn = Server.CreateObject("ADODB.Command")
Cn.ActiveConnection="DRIVER={Microsoft Access Driver(*.mdb)};DBQ="&Server.MapPath("gestionplus1. mdb")&";"
Cn.CommandType = 1
Cn.CommandText = "SELECT * FROM REPRESENTANTES"
Set Rs = Cn.Execute

While not Rs.EOF
Response.Write(Rs("DIRECCION_REPRESENTANTE"))
response.Write("<br>")
Rs.movenext
Wend
%>
__________________
¡Levántate!