Variable to calc % in subreport
I have a variable in the summary of a subreport that is to do a calc from 2
DBCalc fields on that report. I first placed all of these in a summary band
but the calculation matches the last record in the detail band. I added a
group and moved the calculation and dbCalcs to the group footer. Same
result.
Delphi 6 pro. RB 7.03.
Thanks.
--
_________________________________________
Don Gollahon
dlgllhn@InHisStepsSoftware.com
ICQ#: 115831669
"What in Eternity does it matter?"
_________________________________________
DBCalc fields on that report. I first placed all of these in a summary band
but the calculation matches the last record in the detail band. I added a
group and moved the calculation and dbCalcs to the group footer. Same
result.
Delphi 6 pro. RB 7.03.
Thanks.
--
_________________________________________
Don Gollahon
dlgllhn@InHisStepsSoftware.com
ICQ#: 115831669
"What in Eternity does it matter?"
_________________________________________
This discussion has been closed.
Comments
Which type of calculation are you making with the DBCalc components? In my
testing with the sum, I was able to obtain the correct calculations and then
divide the two values successfully in the OnCalc event of a TppVariable
afterward.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
FieldValue to just plain Value on the variable.
It is working now.
Thanks.
--
_________________________________________
Don Gollahon
dlgllhn@InHisStepsSoftware.com
ICQ#: 115831669
"What in Eternity does it matter?"
_________________________________________