Ver Mensaje Individual
  #5 (permalink)  
Antiguo 28/05/2002, 23:51
agarciaa
 
Fecha de Ingreso: julio-2001
Mensajes: 278
Antigüedad: 23 años, 7 meses
Puntos: 0
Re: definiciones básicas ayuda por favor!!

Pos por ahi va la respuesta, tienes ke agregar el componente ADODB y luego agregarlo a tu tabla conectarte es lo más facil:

Dim oConn as ADODB.Connection
Dim oComm as ADODB.Command
Dim oRS as ADODB.RecordSet

oConn.ConnectionString = "DRIVER={Microsoft Access Driver(*.mdb)};DBQ=C:\ruta\de_la\maldita_base.mdb& quot;
oConn.open
oComm.ActiveConnection = oConn
oComm.CommandText = "SELECT * FROM tu_tabla"
Set oRS = oComm.Execute
While Not oRs.Eof
' Msgbox namas por poner un ejemplo
Msgbox oRS(0) & " " & oRS(1)
Wend
oConn.Close
Set oRS = Nothing
Set oComm = Nothing
Set oConn = Nothing

Gueno eso es solo un ejemplo en el ke te puedes basar para todo.

Saludotes

<a href="http://www.ansiwebs.com"><img border="0" src="http://www.ansiwebs.com/img/agarciaa.jpg"></a>