Hi All,
I have two combo boxes on my form called; (along with other text boxes)
cboTestG
cboResultsC
What I am trying to do is to prevent users from leaving both combo boxes blank. something like the below but i'm not sure how to put this into code?
If cboTestG is blank then cboResultsC must be completed,
If cboResultsC is blank then cboTestG must be completed,
If cboTestG and cboResultsC are both blank then a message box to pop up advising that they need to enter either a test or a result.
Any help would be appreciated.
Regards
Spike



I have two combo boxes on my form called; (along with other text boxes)
cboTestG
cboResultsC
What I am trying to do is to prevent users from leaving both combo boxes blank. something like the below but i'm not sure how to put this into code?
If cboTestG is blank then cboResultsC must be completed,
If cboResultsC is blank then cboTestG must be completed,
If cboTestG and cboResultsC are both blank then a message box to pop up advising that they need to enter either a test or a result.
Any help would be appreciated.
Regards
Spike


