You can pass parameters, but not the way you are doing it!
You have:
fn_sa_54(SA_02,SA_104,SA_107,SA_110,SA_113,SA_116,SA_119,SA_122,SA_125,SA_128,SA_131,SA_134,SA_137,SA_140,SA_143,SA_146)
IIF([SA_02]=0,NULL,([SA_104]+...
Incorrect!
Correct is like:
*FUNCTION fn_sa_54(%P1%,%P2%,...)
IIF(%P1%=0,NULL,(%P2%+...)/%P1%*200000)
And you have to call this function in the member formula:
fn_sa_54([SA_02],[SA_104,],...)
Vadim
PLEASE READ HELP!