G
Gator
I want to move from the FundNumber textbox on the main form to a subform.
However, if there is not a value or text in the textbox then the textbox
keeps its focus. But, what is happening is the focus is moving to the
subform when I hit tab button on the keyboard even when the control is blank.
What is wrong with this?
Private Sub FundNumber_LostFocus()
If IsNull(Me.FundNumber) Then
Me.FundNumber.SetFocus
End If
End Sub
Thanks
However, if there is not a value or text in the textbox then the textbox
keeps its focus. But, what is happening is the focus is moving to the
subform when I hit tab button on the keyboard even when the control is blank.
What is wrong with this?
Private Sub FundNumber_LostFocus()
If IsNull(Me.FundNumber) Then
Me.FundNumber.SetFocus
End If
End Sub
Thanks