N
Nathan
Okay, this seemed like it would be simple but I'm having a
heck of time with it. I'm just trying to filter a query
based on a users selection in a combo box. If the combo
box is empty, I want no filter to apply. I've first tried:
IIf(IsNull([Forms]![WarrantyClaims]![category]),Like "*",
[Forms]![WarrantyClaims]![category])
in the appropriate Criteria field in design view.
However, I think the Like "*" phrase needs to have quotes
around it ("Like "*"") but then Access says "the
expression is typed incorrectly or is too complex to be
evaluated". My thought was that the quotes inside the
quotes need to be escaped but I can't figure out what the
escape character is (I tried \" , ["] , and even '' ).
I'm probably doing something stupid.
heck of time with it. I'm just trying to filter a query
based on a users selection in a combo box. If the combo
box is empty, I want no filter to apply. I've first tried:
IIf(IsNull([Forms]![WarrantyClaims]![category]),Like "*",
[Forms]![WarrantyClaims]![category])
in the appropriate Criteria field in design view.
However, I think the Like "*" phrase needs to have quotes
around it ("Like "*"") but then Access says "the
expression is typed incorrectly or is too complex to be
evaluated". My thought was that the quotes inside the
quotes need to be escaped but I can't figure out what the
escape character is (I tried \" , ["] , and even '' ).
I'm probably doing something stupid.