Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/02/2005, 23:30
gustavoalegre
 
Fecha de Ingreso: febrero-2005
Mensajes: 6
Antigüedad: 19 años, 3 meses
Puntos: 0
Hola. A ver prueba esto:

Private Sub List1_Click()
rst.Close
Set rst = db.OpenRecordset("SELECT * FROM Tabla1 WHERE Usuario='" & List1.Text & "'")
rst.MoveFirst
With rst
Text1.Text = .Fields("Empresa")
Text2.Text = .Fields("Telefono")
End With
End Sub