Hi ,
I have a report that does not calculate well.
The variable TOTAL_IMPORTE represents the sum of ah_facturas.importe which is placed inside a databand.
The variable is in two places of the report but the calculations show them wrong when there is only one line left on the next page.
The last row should not be added. What I do wrong?
Thanks in advance.
Report sum variable
Report sum variable
- Attachments
-
- VTA0140.mrt
- (190.11 KiB) Downloaded 146 times
-
- Post.docx
- (249.4 KiB) Downloaded 170 times
Re: Report sum variable
Hello.
We can't reproduce the issue without your data.
We can only guess that the issue is because of the rendering process of the report.
Try to use the After Print method of the Data Band to calculate the sum.
If you still need our help, please, send sample data for your report.
Thank you.
We can't reproduce the issue without your data.
We can only guess that the issue is because of the rendering process of the report.
Try to use the After Print method of the Data Band to calculate the sum.
If you still need our help, please, send sample data for your report.
Thank you.
Re: Report sum variable
Hi !
I have send a sample report with test data.
Thanks & Regards
I have send a sample report with test data.
Thanks & Regards
- Attachments
-
- Sample_report.zip
- (484.67 KiB) Downloaded 128 times
Re: Report sum variable
Hello.
We have found a solution for you.
You could use the Totals.cSumRunning() and Totals.cSum() functions.
You event don't need to use the variable.
Please, look at the attached report template.
Thank you.
We have found a solution for you.
You could use the Totals.cSumRunning() and Totals.cSum() functions.
You event don't need to use the variable.
Please, look at the attached report template.
Thank you.
- Attachments
-
- sample.mrt
- (37.63 KiB) Downloaded 252 times
Re: Report sum variable
Hi !
It works !!
Thanks and regards.
It works !!
Thanks and regards.
-
- Posts: 6271
- Joined: Tue Mar 20, 2018 5:34 am
Re: Report sum variable
Hello
We are always glad to help you!
Please let us know if you need any additional help.
Thank you.
We are always glad to help you!
Please let us know if you need any additional help.
Thank you.