I am having a problem with a query that uses iif statements per the below:
Items to Exclude: IIf([Is this FAC]="No",[ID2],IIf(([Is this FAC]="Yes") And ([ID2]="CsaId"),"False",[ID2]))
The above 'Items to Exclude' field should populate ID2 where the 'Is this FAC' field is (1) No OR (2) is Yes AND ID2 is not 'CsaId'.
When the Query is run with the above formulas and as per the below it works fine, returning FALSE where it should in the 'Items to Exclude' field per the formula.
The problem is if I then enter <>"False" in the Criteria field per the below (as I want to then filter out any exclusions, i.e. False items)
it seems to turn the field into a parameter query and gives a window pop up per the below instead of just filtering out the FALSE statements.
I would appreciate any help/ideas.
Thanks