I have a field (Lets call it [A]) that has null values in it,
For my criteria I want to search for "*" & [A] & "*" but when there is nothing in the search box I want it to show everything
If I just put "*" I get all non-null values
I came up with
IIf([A] Is Null,Like "*" Or Is Null,Like "*" & [A] & "*")
But it tells my that my expression is either wrong or too complex to evaluate when [A] is blank, when I enter in a value the table comes out blank
When I change it to
IIf([A] Is Null,Like "*" Or Is Null,[A])
Same thing with blank but now the value works (though ultimately not what I want)
What am I doing wrong? When I read it through it makes sense but obvioulsy it's not....
Thanks!