Hi All.
Trying to run a query based on a combo... If combo is blank, I want to show all records. Why is this not working? if my combo is set to something, the criteria works. If the combo is not set, it does not show anything. If I put the --- Like "*" Or Is Null --- in the criteria alone, the query does show everything, but it does not when I put it in the IFF statement.
IIf(IsNull([Forms]![1b) Starting Form]![comboGroup2]),Like "*" Or Is Null,[Forms]![1b) Starting Form]![comboGroup2])
ooh.. forgot to say that the above IIF is giving me a "This expression is typeed incorrectly, or it is too complex to be evaluated
I just tried to Nz() the field so I could eliminate the Is Null above. The Like "*" alone does not return all records in the above iif.
Thanks.
Steve