
19/02/2005, 23:30
|
| | Fecha de Ingreso: febrero-2005
Mensajes: 6
Antigüedad: 20 años, 2 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 |