I'm trying to build a calculated field in a table and i'm getting the error "The expression you entered contains invalid syntax".
This is my expression: IIf([Marital Status]="Married", [Basic Salary]<17100,0) IIf([Marital Status]="Married", [Basic Salary]>=17101,12) IIf([Marital Status]="Single", [Basic Salary]<6400,0) IIf([Marital Status]="Single", [Basic Salary]>=6401,12)
This is my expression: IIf([Marital Status]="Married", [Basic Salary]<17100,0) IIf([Marital Status]="Married", [Basic Salary]>=17101,12) IIf([Marital Status]="Single", [Basic Salary]<6400,0) IIf([Marital Status]="Single", [Basic Salary]>=6401,12)