Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Subreport Data Order

edited April 2005 in General
Hello,

I have a report which is passed a single dataset. I need to display the
summarized data in a particular order regardless of the order of the main
report. The main report can be sorted in a number of combinations. But the
subreport will always be sorted by FUND. See the example.

Main report may sorted by BROKER, TKR
FUND BROKER TKR
3 A 1
1 A 2
2 B 1
2 C 1

The subreport summary will always be sorted by fund
FUND TOTAL ITEMS
1 1
2 2
3 1

Currently the subreport is in the summary band.

Thank you for your help,
Michael Malinowski

Comments

  • edited April 2005
    RB will not sort data for you--you have to do it. You can do this several
    ways:

    1) Create a TList (or probably a TOjbectList) of data and use a JIT
    Pipeline.
    2) Use an in-memory dataset for the second copy of data.

    HTH,
    Ed Dressel
    Team DM
This discussion has been closed.