ppVariable Calculation Problem
I'm still having problems understanding the ppVariable and the
CalcComponent, CalcType, ResetComponent, and ResetType. The report is
comprised of one group, the detail has a field called amount that is a field
in the database. In the GroupFooter is a ppVariable that needs to
conditionally add up the amount field from the detail and reset for each
group. I have the following properties on the ppVariable
CalcComponent-pipeline of detail band
CalcType-veDataPipelineTraversal
ResetCalcComponent-ppGroup1
ResetType-veGroupStart
The OnCalc event is currently just adding the amount field from the dataset
Value := Value + Table.FieldByName('Amount').AsCurrency
The ppVariable values are not correct. In fact I cannot figure out how they
are calculated.
Thanks
CalcComponent, CalcType, ResetComponent, and ResetType. The report is
comprised of one group, the detail has a field called amount that is a field
in the database. In the GroupFooter is a ppVariable that needs to
conditionally add up the amount field from the detail and reset for each
group. I have the following properties on the ppVariable
CalcComponent-pipeline of detail band
CalcType-veDataPipelineTraversal
ResetCalcComponent-ppGroup1
ResetType-veGroupStart
The OnCalc event is currently just adding the amount field from the dataset
Value := Value + Table.FieldByName('Amount').AsCurrency
The ppVariable values are not correct. In fact I cannot figure out how they
are calculated.
Thanks
This discussion has been closed.
Comments
Please send an example of the issue to support@digital-metaphors.com and
I'll take a look at what's going on.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com