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

Moving group header labels to the report header and then deleting the group

edited July 2002 in General
Hi All,

I have one report and my users want to sometimes run the report w/o the
group. Same report, but w/o grouping. I know how to change the sql, etc.
But I am having a problem since all of my headers print in the group header
to make it easier for the user to read. What I would like to do, is move
the headers (TppLabels) from the group header to the report header, then
delete the group. Can someone please tell me how to do this? I tried
iterating through the components in the group header and changing the parent
to the report header, but apparently, you can't set the parent, it is read
only.

Any suggestions are welcome.

Thanks,
Stacey

Comments

  • edited July 2002
    Try using report templates and loading them at runtime instead of moving the
    labels and deleting the group.

  • edited July 2002
    One way is to create the labels in a Region. This way you only have to set
    the Region's band property to the report's headerband to move it.
    This works for me.

    HTH,
    Vikram

  • edited July 2002
    Yes, the Band property of a component is what needs to be set in order for a
    control to be located in a band.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.