Hi, I want to force data entry on one of my combo/text boxes on a form. The following code works however it's messy because after it displays the message "Please Choose Item", the user is presented with two popup boxes to navigate, as shown in the attached images. Is there a way around this? Below is the code:
.Code:Private Sub Form_BeforeUpdate(Cancel As Integer) If IsNull(Me.Combo70) Then MsgBox "Please Choose Item" Me.Combo70.SetFocus Cancel = True End If End Sub
Thanks in advance
![]()