I have the following nested IIf statement in an Access query – which works fine, except the final “#NONE#” message.
IIf([AccID]="GPEP",3,IIf([AccID]="ISA",2,IIf(IsNull([AccID]),1,"#NONE#")))
The idea is, if [AccID] contains any of the specified strings, or is null, a number is returned (1, 2...