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

What am I missing?

edited February 2006 in General
I have an old report that has about 10 subreports. Looking at the bottom of
the page I have each tab with a unique name for what the sub report is.
However, this is where everything goes wacky. I click a tab called
partssub: invparts. I assume this subreports name is partssub and that its
linked to the invparts table. This is good.

But when I click it, the object inspector takes me to ppchildreport29 with
no reference to the tabname I just clicked on.

I then click back to the main report tab to try to find ppchildreport29, or
partssub in the way of a detailed report. However, nothing with either of
those names exist on the main report page. All of the detail reports on the
main page have names like: ppSubReport13 and so forth.

Its also worth mentioning that the numbers between the different names do
not match anything either. At first I thought I could figure out which
report was which by looking at their ending numbers... no go there either.

What gives? Why are all these things named differently? How do I determine
which sub report I'm looking at on the main page?

Thanks,

glenn

Comments

  • edited February 2006
    Hi Glenn,

    Which version of ReportBuilder/Delphi are you currently using? Each
    subreport consists of two separate objects, the TppSubreport object (which
    is the component you see on the main report), and the TppChildReport object
    (which is the subreport design, by clicking the tab below). These two
    objects are linked at creation and unless the template code has become
    corrupt, the link should stay consistant throughout the life of the report.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited February 2006
    I'm using delphi 6 and RB10...

    glenn
  • edited February 2006
    Hi Glenn,

    There is a patch available that may fix some of the desing issues. I do
    however believe that your template code may still be corrupt. Trying to
    recreate the report may be your best option. Before doing that though, send
    an email to support@digital-metaphors.com requesting the subreport patch.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.