Announcements
my custom report gives 2 copies of the invoice, the first one is correct but the second one has the invoice total, subtotal doubled
could anyone please help me on this ASAP .
comparing the subtotal from the 1st copy to the second copy its getting doubled , someone please help me on this !!!
Thanks in advance .
Regards,
Yathish
The variable you got the sum in can have a different name. So i think you need to share the comple al code for your report.
when i searched for subtotal in my code , only those 2 lines are coming i dont know where its is getting calculated , Its not there
Apart from label, I meant how it calculating the values, also you need to clear that values before creating the second copy of the report.
subtotal has only caption and reference , no particular variable is defined in the code . i searched for it
SubtotalCaptionLbl: Label 'Subtotal:';
column(SubtotalCaption; SubtotalCaptionLbl)
{
}
only these 2 lines come .
Thanks.
Hi,
You have to clear your Subtotal variable before you are creating your second copy of the report.
Thanks.
Probably something wrong with the calculation in the dataset.
We need more information / code to help.
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156