I am using an Iif statement in a query but it is not prodicung the required results, can anyone see anything wrong?
Iif([Forms]![Form]![Field]="A","A",Iif([Forms]![Form]![Field]="B",<>"A","P"))
the first part works fine (="A"), the second part does not, although the <>"A" works when entered...