P
Paul
Hi,
I am currently running a query off a table in Access. I have a calculated
field in the query which looks at the results of another column from within
the table.
The calculated field basically says:-
IIf([X]="NW","London",IIF([X]="WF","Wakefield","Unknown"))
This works fine until you have more than 13 Else IIF statements, then Access
says the expression is too complicated. What else can I use so I can do more
than 13 Else If statments??
I have a list of Postcodes that I need to look at to show where the
postcodes belong to? So I need to be able to use Multiple Else IIf
Statements.
Does someone have the code to be able to look at multiple criterias of more
than 13?
I hope I have explained enough, please let me know if you need anymore info.
Thanks
Paul
I am currently running a query off a table in Access. I have a calculated
field in the query which looks at the results of another column from within
the table.
The calculated field basically says:-
IIf([X]="NW","London",IIF([X]="WF","Wakefield","Unknown"))
This works fine until you have more than 13 Else IIF statements, then Access
says the expression is too complicated. What else can I use so I can do more
than 13 Else If statments??
I have a list of Postcodes that I need to look at to show where the
postcodes belong to? So I need to be able to use Multiple Else IIf
Statements.
Does someone have the code to be able to look at multiple criterias of more
than 13?
I hope I have explained enough, please let me know if you need anymore info.
Thanks
Paul