Hello
I want to use an Iif statement in my query so that If a contractor has a certain value (True/False) then different records are filtered out.
I have standardtypes c, h, i and b. I always want to omit "b" (<>b) but depending on the true/false value I want to show/hide "i"
I have tried the following:
Iif ([tblServices]![Incentive]=True, "h" OR "c" OR "i", "h" OR "c")
It does not like this and says it has been inputted correctly or is too complex to evaluate.
Any suggestions on how I can do this?
I want to use an Iif statement in my query so that If a contractor has a certain value (True/False) then different records are filtered out.
I have standardtypes c, h, i and b. I always want to omit "b" (<>b) but depending on the true/false value I want to show/hide "i"
I have tried the following:
Iif ([tblServices]![Incentive]=True, "h" OR "c" OR "i", "h" OR "c")
It does not like this and says it has been inputted correctly or is too complex to evaluate.
Any suggestions on how I can do this?