S
Sunny
I have one main report say TestReport and one sub report say TestSubReport.
In testreport I have one text control txtTotal (client total sales) along
with several other controls. TestReport is grouped by Area Office and then
Client Id. On client id footer I have added testsubreport.
I assign txtTotal = 0 in client header and I want to calculate txtTotal in
subreport detail print event. I am using
me.Parent.txtTotal = me.Parent.txtTotal + SalesAmount
But I get 0 everytime as a client total sales. What am I missing here?
In testreport I have one text control txtTotal (client total sales) along
with several other controls. TestReport is grouped by Area Office and then
Client Id. On client id footer I have added testsubreport.
I assign txtTotal = 0 in client header and I want to calculate txtTotal in
subreport detail print event. I am using
me.Parent.txtTotal = me.Parent.txtTotal + SalesAmount
But I get 0 everytime as a client total sales. What am I missing here?