Problem calculating Sum in a Report

mistu2020mistu2020 Member Posts: 15
Dear All,

I have made a report based on

1>Purch. Inv. Header
2>Purch. Inv. Line.

In that report i had been calculating the total of the invoicing amount group by doc. no in Purch. Inv. Line. Data item. Now i want to show the total of all amount in last of the report. For calculating the invoicing amount I have declared a variable called "vatamt" and in groupfooter of "Purchase invoice line" dataitem's it show the correct total. but when i wrote :

CurrReport.Createtotals(Vatamt); in prereport of "Purchase Invoice Header" dataitem it shows the wrong output. ](*,)

please help me out...................

Comments

Sign In or Register to comment.