We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Using several 'add' operations in function field

kim-lindgren
Kilo Sage

Hi all, 

 

I have a function field running on a table that adds two other field values like so:

 

glidefunction:add(field1, field2);

 

What I want to do is simply to do add a third field too, something like:

 

glidefunction:add(field1, field2, field3);

 

OR

 

var op1 = glidefunction:add(field1, field2);

glidefunction:add(op1, field3);

 

Neither of these options work. What should I do? I don't want to use a calculated field as it will always execute, not only at runtime. I also don't want to use a display BR or client script, for reporting purposes.

 

Regards,

Kim

1 ACCEPTED SOLUTION

Slava Savitsky
Giga Sage

Have you tried something like this?

glidefunction:add(field1, add(field2, field3));

View solution in original post

2 REPLIES 2

Slava Savitsky
Giga Sage

Have you tried something like this?

glidefunction:add(field1, add(field2, field3));

This worked, thanks a lot!