C
Charles
On a form I have a text box and a combo box. If the user enters data into
the text box then the user must choose a value from the value list of the
combo box next to it. If the user leaves the text box blank then the combo
box must be left blank.
The problem I am having is getting the combo box to require an entry if the
text box is populated. Right now as it stands, the user can enter data into
the text box but the program dosn't require the user to enter data into the
combo box. Any ideas?
I tried using the following formula in the Validation Rule property of the
combo box but it didn't work.
=IIf([TextBox]<>IsNull([TextBox]),"Text 1" Or "Text 2",Is Null)
the text box then the user must choose a value from the value list of the
combo box next to it. If the user leaves the text box blank then the combo
box must be left blank.
The problem I am having is getting the combo box to require an entry if the
text box is populated. Right now as it stands, the user can enter data into
the text box but the program dosn't require the user to enter data into the
combo box. Any ideas?
I tried using the following formula in the Validation Rule property of the
combo box but it didn't work.
=IIf([TextBox]<>IsNull([TextBox]),"Text 1" Or "Text 2",Is Null)