Ver Mensaje Individual
  #4 (permalink)  
Antiguo 21/11/2008, 20:41
principefreddy
 
Fecha de Ingreso: julio-2008
Mensajes: 205
Antigüedad: 15 años, 10 meses
Puntos: 1
Respuesta: Validaciones.

bueno lo resolvi de esta manera y me funciona bien.
ced = Trim(cedula.Text)
c = "trim(cedula)='" & Trim(ced) & "'"
empleado.Recordset.FindFirst c
If Not empleado.Recordset.NoMatch Then
MsgBox "Cedula Introducida Ya Existe", vbInformation, "Atencion"
cedula.Text = ""
Else
If Len(cedula.Text) >= 8 Then
If KeyAscii = 13 Then

nombres.Enabled = True
apellidos.Enabled = True
fecha.Enabled = True
civil.Enabled = True
sexo1.Enabled = True
nacionalidad1.Enabled = True
hijos.Enabled = True
telefono.Enabled = True
email.Enabled = True
txtinstruccion.Enabled = True
nombres.SetFocus

End If
End If
End If