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

Inherited... Help please!!!

edited February 2004 in General
Dears,

I created a form that I will use as "base" for selection of reports in my
project. In this form, I added the following components:
- ppReport
- ppHeaderBand (default header)
- ppDetailBand
- ppFooterBand (default footer)

After that, I inherited a new form starting from my form "base." However,
when I open the report to modify the report, you happens errors as for
instance:

Cannot rename component "Pipe_MyComponentppField6", component was introduced
in an ancestor form.

My questions:
- Can I work with inheritance with Report Builder?
- How to solve the problem above?
- I need to have a form "base" with my standard header and standard footer

Thank you very much,
[]s,
Alessandro Ferreira.

Comments

  • edited February 2004
    Hi Alessandro,

    ReportBuilder supports limited form inheritance. You can only place the
    report object on the ancestor form. It looks as though you also have your
    datapipeline present on your ancestor form. Then when the descendant tries
    to autocreate these fields, you run into problems. Try moving the
    datapipeline to the descendant form and see how that works.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited February 2004

    Hi Nico,

    The problem was in the component DataPipeLine...
    I changed the property AutoCreateFields=False and you perfectly worked.

    Thank you,
    []s,
    Alessandro Ferreira


This discussion has been closed.