G
Gus Chuch
I seem to be missing something? I got a SQL with a criteria that uses the IIF
statement. If the check box on my form is true, filter by txtCity, which
seems to work OK. If my check box on my form is false select all (like = “*â€)
which this does not work, I get no selection at all. Anyone have any ideas?
IIf((([Forms]![frmMailingList]![chkCity])=True),
([Forms]![frmMailingList]![txtCity]),
(([tblMailingList].[CITY]) Like ([tblMailingList].[CITY])="*")))
statement. If the check box on my form is true, filter by txtCity, which
seems to work OK. If my check box on my form is false select all (like = “*â€)
which this does not work, I get no selection at all. Anyone have any ideas?
IIf((([Forms]![frmMailingList]![chkCity])=True),
([Forms]![frmMailingList]![txtCity]),
(([tblMailingList].[CITY]) Like ([tblMailingList].[CITY])="*")))