Embedded Iif statement - help with syntax please
I have put the following expression to update a field based on diffferent variables:
IIf([<ProductType>]='Hardware' AND [<ProductCategory>] <> 'CATEGORY1', 'Hardware', IIf([<ProductType>]='Software', 'Software', IIf([<ProductType>]='Hardware' AND [<ProductCategory>]='CATEGORY1', 'C1 Hardware', '')
Each statement works on its own (it lets me save at least ), however when I try to put them altogether, I can't save and the following error pops up: Invalid expression syntax.... (SBL-ODS-00510)
Can anyone help with the expression syntax?