andrew.abaye
New member
- Local time
- Today, 06:18
- Joined
- Jun 22, 2024
- Messages
- 14
Good day everyone. I am trying to use the Access iif expression to calculate the basic salary of employees based on the employment type but it is not working. See my iif statement below. The field that has the value is Amount while the field that has the employment type is duty_type.
IIf([duty_type]='Adjunct',[amount]*0.33),IIf([duty_type]='Full Time',[amount]*1),IIf([duty_type]='Contructual',[amount]*1),IIf([duty_type]='Sabbatical',[amount]*1)))))
IIf([duty_type]='Adjunct',[amount]*0.33),IIf([duty_type]='Full Time',[amount]*1),IIf([duty_type]='Contructual',[amount]*1),IIf([duty_type]='Sabbatical',[amount]*1)))))