Results 1 to 2 of 2

Thread: Field on Form won't stay onFocus

  1. #1
    Join Date
    Dec 2014
    Posts
    1

    Angry Field on Form won't stay onFocus

    hello,

    I have been trying to run this code:

    Private Sub FName_Exit(Cancel As Integer)

    If IsNull(Me!FName) Then
    MsgBox "Eh...fill this in!"
    Me.FName.SetFocus
    End If

    End Sub


    But every time it changes to the next field on the form on Access 2007

    I can't seem to get it to stay on that field.

    Any help?

    Ernest

  2. #2
    Join Date
    Oct 2006
    Location
    Maitland NSW Australia
    Posts
    275
    Set focus to another field then move back to FName
    Allan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •