Hi all
After posting in another thread it was identified that my original table structure had a few issues
I've now since moved everything into one table but i need some help with the formatting of my calculated field (I'm new to all this)
Below are the 3 expressions working independently of one another, i just need them combined in to one if possible. As i am getting an "invalid syntax" error or "too many arguments" when i try to get it working
Thanks in advance
After posting in another thread it was identified that my original table structure had a few issues
I've now since moved everything into one table but i need some help with the formatting of my calculated field (I'm new to all this)
Below are the 3 expressions working independently of one another, i just need them combined in to one if possible. As i am getting an "invalid syntax" error or "too many arguments" when i try to get it working
Thanks in advance
PHP:
0.5*IIf([Type]="Offlist" And [APP_LINE_OFFA]>3,1,0)+0.2*IIf([Type]="Offlist" And [APP_LINE_OFFB]>2,1,0)+IIf([Type]="Offlist",Abs([EP_DETAILS_OFF]*0.15+[REF_DETAILS_OFF]*0.15),0)
PHP:
IIf([Type]="Onlist",Abs([EP_DETAILS_ON]*0.15+[REF_DETAILS_ON]*0.2+[GEN_NOTE_ON]*0.2+[APP_LINE_ON]*0.25+[SPEC_INS_ON]*0.2),0)
PHP:
IIf([Type]="Aged Report", Abs([EP_DETAILS_AGED]*0.2+[REF_DETAILS_AGED]*0.2+[GEN_NOTES_AGED]*0.3+[SPEC_INS_AGED]*0.3),0)