Help Needed With CalcTypes, Divisors, and Programmatic Grouping
Hello All!
I am using ReportBuilder Enterprise version 10.06 with Delphi 2006 running
on XP 2002 sp2.
In the attached document, is a block of code with a procedure in which some
SubTotals are being added to a report.
In that code snippet, I have changed the font color of four different
sections for the sake of clarification.
What I want to know is, in the section of code, just before the final "end"
statements, where the font
color is red, can I change the divisor for that group? Also, is it possible
to set the value of that "group value"
to be equal to a computation/calculation of any combination of the 1st three
groups that were created?
If so, can anyone give me some direction or suggestions on how to accomplish
this?
Thanks in advance for your response!
Everett
I am using ReportBuilder Enterprise version 10.06 with Delphi 2006 running
on XP 2002 sp2.
In the attached document, is a block of code with a procedure in which some
SubTotals are being added to a report.
In that code snippet, I have changed the font color of four different
sections for the sake of clarification.
What I want to know is, in the section of code, just before the final "end"
statements, where the font
color is red, can I change the divisor for that group? Also, is it possible
to set the value of that "group value"
to be equal to a computation/calculation of any combination of the 1st three
groups that were created?
If so, can anyone give me some direction or suggestions on how to accomplish
this?
Thanks in advance for your response!
Everett
This discussion has been closed.
Comments
Please send all attachments to support@digital-metaphors.com. Also it is
much more helpful if you send us a minimal working example of the issue you
are experiencing rather than posting a snip of code.
I'm a bit unclear about what you are trying to accomplish. If you need to
make a calculation based on data in a group, I would recommend using a
TppVariable and its OnCalc event. This gives you complete control over the
calculation made. The DBCalc component is limited in its calculation
abilities in that it can only calculate sum, average min, max, or count.
You can try using the TppGroup.OnGetBreakValue to see and change the break
value of a group when the next record is retrieved. Perhaps a bit more
information about what exactly you would like your report to do/look like
would help us find a better solution for you.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com