I've a Combobox in a subform that will contain values. While entering data on the subform, a value of '?????' is acceptable, however when the 'Submit' button is clicked on the main form, I wish to present MsgBox("Must enter correct info") and make them choose the correct value in the combobox.
I know this can be done in VBA, however I am not sure exactly how to do it.
My best guess was (on click, event procedure) :
If Me.MainForm.Sub Form.ComboBox.T ext = "?????" Then
MsgBox("Must Enter Correct Information")
End If
But it isn't working.
Thanks.
I know this can be done in VBA, however I am not sure exactly how to do it.
My best guess was (on click, event procedure) :
If Me.MainForm.Sub Form.ComboBox.T ext = "?????" Then
MsgBox("Must Enter Correct Information")
End If
But it isn't working.
Thanks.
Comment