I am trying to calculate the grand total of field values that have been populated by users.
I do not know in advance how many fields will be filled out
I have tried to do simple addition
FIELD1+FIELD2+........ but if the user only populates FIELD1 then it does nothing.
I have tried also the following formula
mtotal := @If(field1 = ""; 0; field1) + @If(field2 = ""; 0; field2) +...;
But it dosen't work
Can anyone help ?????
I do not know in advance how many fields will be filled out
I have tried to do simple addition
FIELD1+FIELD2+........ but if the user only populates FIELD1 then it does nothing.
I have tried also the following formula
mtotal := @If(field1 = ""; 0; field1) + @If(field2 = ""; 0; field2) +...;
But it dosen't work
Can anyone help ?????