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

child sub report problem

edited September 2002 in General
Hi there,

I need some help in creating a child sub report:

I have an inventory list where each item is to be displayed on one page like
some kind of register tab.
Inside there are fields for each type of information like name, type, cost
etc. And there are two "sub-lists", one a list of peripheral components and
one a list of repairs.
I want to create them as sub reports. I tried to use a child report and it
works but ALL peripheral components in the pipeline are listed not just the
ones for the current object!
In the main report I have grouped by the inventory number so that in the sub
report only those data sets that have the same number should be used. But
that seems to be false.

Furthermore, would it be possible to use a sub report with static height
instead? That would look much better on a register tab.

thx

Andreas Kr?gersen

Comments

  • edited September 2002
    You can use groups and the group header.footer bands to display information
    about that particular group of data. If you would like to use subreports,
    then create multiple datasets. You will need to connect the detail
    datapipelines up to individual subreports. Create a master detail
    configuration for the datasets. See the main reports demo project for some
    examples and also the Developer'sGuide pdf in your installation which
    describes creating master detail reports. If you want a fixed height
    subreport, then set the Subreport.PrintBehavior property to pbFixed. Resixe
    the subreport to occupy a specified amount of space which is given as its
    height.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.