How to display Sum totals at bottom of PDF reports?

I am using a “records per line” pdf report to list all records using a filter. Now at the bottom of the report I need to list sums/totals for a couple of the fields. I have used fpdf before in other web apps and its simple. I also need to draw a single line at that point. I can not figure out how to do it in SC. Below is an example of what I am trying to do.

Re: How to display Sum totals at bottom of PDF reports?

In this case you should use the onRecord event to sum the values in a variable or field.

Regards,

V?tor

1 Like

Hi
Thanks to God,I made this in 2 steps:
1-


2-