Ayuda con una busqueda
Publicado por Juan Carlos (6 intervenciones) el 25/06/2002 19:09:27
Como Puedo Buscar un Registro en la base de datos utilizando una Caja de Texto EJ:
Private Sub Bbuscar_Click()
If tbusca = Empty Then
MsgBox ("Ingrese Rut A Buscar")
Else
With ID.Recordset
.MoveFirst
.Find "Rut = 'tbusca' ", 0, adSearchForward
If .EOF Then
MsgBox (" EL Rut No Existe ")
Else
tnombre = !nombre
tapellido = !apellido
tdireccion = !Direccion
End If
End With
End If
End Sub
Me Pueden Ayudar
Private Sub Bbuscar_Click()
If tbusca = Empty Then
MsgBox ("Ingrese Rut A Buscar")
Else
With ID.Recordset
.MoveFirst
.Find "Rut = 'tbusca' ", 0, adSearchForward
If .EOF Then
MsgBox (" EL Rut No Existe ")
Else
tnombre = !nombre
tapellido = !apellido
tdireccion = !Direccion
End If
End With
End If
End Sub
Me Pueden Ayudar
Valora esta pregunta


0