Cita:
Iniciado por astrow25
Hola tengo un textbox, que al evento AfterUpdate hace lo siguiente
Private Sub Telefono_AfterUpdate()
If not IsNumeric(Telefono) then
me.Telefono.SetFocus()
End If
End Sub
He probado y no me funciona el setfocus, se va al siguiente control
Hola,
prueba así.
Private Sub Telefono_AfterUpdate()
If not IsNumeric(Me.Telefono) then
me.Telefono=""
me.Telefono.SetFocus
End If
End Sub