A family of Microsoft relational database management systems designed for ease of use.
A response to another thread resolved my problem. The answer was to, in the AfterUpdate event, first set focus on some other control, then to set focus on the subject text box control - which accomplishes my aim: display an error msg, clear the entry in the AfterUpdate event, and set focus on the empty text box for a corrected entry.
I think it would be simpler just to undo the invalid entry in the text box's BeforeUpdate event, while also cancelling the event. Like this (extending HansV's code):
Private Sub txtSomething_BeforeUpdate(Cancel As Integer)
If <your condition here> Then
MsgBox "Incorrect entry", vbExclamation
Cancel = True
Me.txtSomething.Undo
End If
End Sub