V
vinnypimp
My query looks at a textbox from a form as part of an IIF statement as
criteria in a query.
[CorpID] = IIF([textbox] = "a410132", Like "a*", [textbox])
When the statement is true, no records are returned, it should return all
records. A false statement returns the correct value.
What am I doing wrong? Is there any easier way to perform this query?
criteria in a query.
[CorpID] = IIF([textbox] = "a410132", Like "a*", [textbox])
When the statement is true, no records are returned, it should return all
records. A false statement returns the correct value.
What am I doing wrong? Is there any easier way to perform this query?