I am trying to decode some set data (in codes) to a description. In Excel I would use a VLookup, but am struggling to write the expression in Access. I have built this into a column in a query, but Access is saying that the 'expression is too complex'. Any help on overcoming this would be greatly appreciated.
thanks in advance.
Code:
SSADESC: (IIf([SSA2011] Like "01.3*","Health and Social Care",(IIf([ssa2011] Like "01.5*","Child Development and Well Being",(IIf([SSA2011] Like "04.1*","Engineering",(IIf([SSA2011] Like "04.3*","Transportation Operations and Maintenance",(IIf([SSA2011] Like "05.2*","Building and Construction",(IIf([SSA2011] Like "07.4*","Hospitality and Catering",(IIf([SSA2011] Like "15.*","Business Administration",(IIf([SSA2011] Like "01.4*","Public Services",(IIf([SSA2011] Like "07.3*","Service Enterprises",(IIf([SSA2011] Like "08.1*","Sport, Leisure and Recreation,(IIf([SSA2011] Like "13.2*","Direct Learning Support",""))))))))))))))))))))))
Comment