Ver Mensaje Individual
  #2 (permalink)  
Antiguo 25/03/2004, 09:30
Avatar de Saruman
Saruman
 
Fecha de Ingreso: mayo-2003
Ubicación: Panama city, Panama, Panama
Mensajes: 1.154
Antigüedad: 22 años
Puntos: 5
hazlo asi:

Set Conexion=Createobject("ADODB.Connection")
Conexion.Open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & server.mappath("base.mdb");"

si la bd esta en otro directorio, entonces:

Set Conexion=Createobject("ADODB.Connection")
Conexion.Open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & server.mappath("root/db/base.mdb");"


el server.mappath lo que hace es transormartela y lo que ella veria seria esto (por ejemplo):

C:\mi_sitio\root\db\base.mdb

espero te haya servido de algo
saludos
__________________
Saruman

One Ring to rule them all, One Ring to find them, One Ring to bring them all and in the darkness bind them.