G
Guest
Hi-
I need assistance in proper syntax, could you please review the following
SQL statments: Please advise. I know i am getting errors on the #1. #2 May be
ok. This is for a project at work that is due very soon.
1
FormatNumber(IIF(((GetTableBasedItem(1)<0.60),(GetTableBasedItem(1)-0.43)*5500/100)),(IIF((GetTableBasedItem(1)>=0.60),((0.60-0.43)*5500/100)),IIF((GetTableBasedItem(1)<=0.43),0))),0)
2
IIF((GetTableBasedItem(1)<0.60,'Case1',IIF((GetTableBasedItem(1)>=0.60),'Case2',IIF(GetTableBasedItem(1)<=0.43),'Case3',0)))
I need assistance in proper syntax, could you please review the following
SQL statments: Please advise. I know i am getting errors on the #1. #2 May be
ok. This is for a project at work that is due very soon.
1
FormatNumber(IIF(((GetTableBasedItem(1)<0.60),(GetTableBasedItem(1)-0.43)*5500/100)),(IIF((GetTableBasedItem(1)>=0.60),((0.60-0.43)*5500/100)),IIF((GetTableBasedItem(1)<=0.43),0))),0)
2
IIF((GetTableBasedItem(1)<0.60,'Case1',IIF((GetTableBasedItem(1)>=0.60),'Case2',IIF(GetTableBasedItem(1)<=0.43),'Case3',0)))