Problem with group footer
Hi,
I have report with master-detail data. Detail comes from dataset and
uses a group. I need to show in group footer symbolic data (DBText) but
something goes wrong - last group shows wrong symbolic data in group
footer.
Lets see a sample:
Customer Sum Currency
--------------------------------
Jana 123,234 EUR
Jana 22,222 EUR
------- ---
145,456 EUR -
Habalaba 9,900 USD
Habalaba 111,111 USD
------- ---
121,011 EUR - !!! this is wrong!!!
There is a group by currency. Select in dataset has also group by
currency. Everithing goes fine till RB draws last groups footer - sum is
correct but currency is wrong (must be USD).
It seems to me that RB reads all data from dataset and while writing
last group footer data it starts reading data from dataset first row.
Does anybody have had same problem or knows solution?
I am using Delphi 4 and RB Enterprise Edition Ver 7.02.
regards,
Heigo
I have report with master-detail data. Detail comes from dataset and
uses a group. I need to show in group footer symbolic data (DBText) but
something goes wrong - last group shows wrong symbolic data in group
footer.
Lets see a sample:
Customer Sum Currency
--------------------------------
Jana 123,234 EUR
Jana 22,222 EUR
------- ---
145,456 EUR -
Habalaba 9,900 USD
Habalaba 111,111 USD
------- ---
121,011 EUR - !!! this is wrong!!!
There is a group by currency. Select in dataset has also group by
currency. Everithing goes fine till RB draws last groups footer - sum is
correct but currency is wrong (must be USD).
It seems to me that RB reads all data from dataset and while writing
last group footer data it starts reading data from dataset first row.
Does anybody have had same problem or knows solution?
I am using Delphi 4 and RB Enterprise Edition Ver 7.02.
regards,
Heigo
This discussion has been closed.
Comments
Please send a small example demonstrating the problem in .zip format to
support@digital-metaphors.com and I'll take a look at it for you.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com