What's the best way for having, in a footer group, three totals: the first two come from the sum of their related fields (DBCALC), but I want to calc the third as the difference from the previous two...
Place a variable in the footer and set the value to the difference in the OnCalc event. Set the ResetType on the variable to PageEnd. (Right click over the variable and access the Timing... dialog)
Comments
OnCalc event. Set the ResetType on the variable to PageEnd. (Right click
over the variable and access the Timing... dialog)
Value := DBCalc1.Value - DBCalc2.Value;
Cheers,
--
-
--
Tom Ollar
Digital Metaphors Corporation
http://www.digital-metaphors.com
info@digital-metaphors.com