C
Chip Coutts
I have a form with an unbound pulldown. I would like for my query to return
only reords that are equal to the pulldown if a value is selected, or display
all records if no value is selected. To get around "Null" issues, I have
set the value of the pulldown ="All" OnOpen the form.
The best I have been able to do so far is:
IIf([Forms]![Formname]![Fieldname]<>"All",[Forms]![Formname]![Fieldname],"*")
will return records when I enter [Fieldname] data something different than
All. But if I enter All, i get no records.
Any insight?
only reords that are equal to the pulldown if a value is selected, or display
all records if no value is selected. To get around "Null" issues, I have
set the value of the pulldown ="All" OnOpen the form.
The best I have been able to do so far is:
IIf([Forms]![Formname]![Fieldname]<>"All",[Forms]![Formname]![Fieldname],"*")
will return records when I enter [Fieldname] data something different than
All. But if I enter All, i get no records.
Any insight?