OK, so this one is probably really easy to solve but im stuck, I have an IF statement After Update to make sure that the field has the required information. If it doesn't then it voids the entry. At this point I want the cursor to be set to the box it just cleared out but for some reason it keeps jumping to the next tab control.
Private Sub Box_AfterUpdate()
If Len(Me.Box) <> 9 Then
Me.Box = Null
Me.Box.SetFocus
End If
End Sub
Can you guys tell me what I need to do to make it go?
Thanks in advance.
Private Sub Box_AfterUpdate()
If Len(Me.Box) <> 9 Then
Me.Box = Null
Me.Box.SetFocus
End If
End Sub
Can you guys tell me what I need to do to make it go?
Thanks in advance.