Final update for anyone following this riveting storyline:
Having the most recent code on LostFocus event for the firstName field did not make it possible for the user to exit the form without entering data into the firstName field, giving useless values in the table the form writes to.
I replaced it with GotFocus events on every other entry field in my form that was programmed like so:
Code:
If IsNull(Me.firstName) Or IsNull(Me.lastName) Then
MsgBox "Enter the physician's first and last names.", , "Physician Name"
If IsNull(Me.firstName) Then
firstName.SetFocus
Else
lastName.SetFocus
End If
End If
I am now able to use all the buttons on the form and ensure blank or incomplete records aren't being written to the table, while still ensuring the user enters both first and last names. Thanks all for the help.