Private Sub buscar_Click()
Dim bm As Variant
bm = Dnav.Recordset.Bookmark
If Tbus.Text <> " " Then
Dnav.Recordset.MoveFirst
If Op1.Value Then
cad = " ID_Empleado = " & Val(Tbus)
End If
If Op2.Value Then
cad = "Nombre='" & Tbus & "'"
End If
Dnav.Recordset.FindFirst cad
If Dnav.Recordset.NoMatch Then
Dnav.Recordset.Bookmark = bm
MsgBox "Registro No Encontrado"
End If
Else
MsgBox "Teclee el dato a buscar"
End If
End Sub