I have a Form with the command button 'Submit.' I have a subform inside the form where users are inputting date, company and hours. If they are unsure of the company, they are allowed to enter a value in the combo box of '?????' .. Now, there are going to be multiple records in the subform, some may have '?????' some may not.
I need a MsgBox to pop up, when they click 'Submit' to ensure all Comboboxes with '?????' are changed, this prohibiting them from being submitted.
I have the code:
Expand|Select|Wrap|Line Numbers
- If Me!MainForm!ServiceLOBCbx.Text = "?????" Then
- MsgBox ("Enter Correct LOB")
Is there a way to make the submit button search ALL records in each combobox for that value?
Note: It will always be ????? .. not '?' or '??'
Thanks!!