Combo Boxes and Expressions

  • Thread starter Thread starter DS
  • Start date Start date
D

DS

Hi, I have a combo box that you choose a name from and then you press a
button and the name goes to an unbound text box. Simple. The problem
is that when a person doesn't choose a name (as none appears unless the
arrow drops down) and presses the button I want a form that I made made
to pop up. How is this written?

IIf([Combo Box]=nz,[Form to Open],[Combo Box])

Thanks for any help.
DS
 
Write code in button's click event:

If empty(ThisForm.yourcombobox.value)
Do form OtherForm
else
do whateveryouwantto
endif
 
Back
Top