G
Guest
I have a combo box on a form that is used enter a parameter for a query. I
would like the user to have the option of either entering an acct # to
specify an account to query on or leaving the field blank and thus running
the query on all accounts. Below is the criteria field in the query. Is this
the right approach? If so, how do I tell it to give me all accounts should an
acct # not be specified?
=IIf(IsNull([Forms]![XYZ Form]![Combo5]),??????,[Forms]![XYZ Form]![Combo5])
would like the user to have the option of either entering an acct # to
specify an account to query on or leaving the field blank and thus running
the query on all accounts. Below is the criteria field in the query. Is this
the right approach? If so, how do I tell it to give me all accounts should an
acct # not be specified?
=IIf(IsNull([Forms]![XYZ Form]![Combo5]),??????,[Forms]![XYZ Form]![Combo5])