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

Stange behaviour with send to background

edited April 2003 in General
Hello,

I have a report that is inherited from another report. There are some
ppLabel in the original report that are printer over a shape. In the
descendent report some of the ppLabels (but not all of them !!!) are
displayed behind the shape, so there are not visible. I select the shape,
click the send to back button. The shape goes behind the ppLabel so they
become visible. But I close and reopen my inherited report, the shape comes
back to the front.

Strange ... isn't it ?

Regards,

Julien

Comments

  • edited April 2003
    We don't recommend using report inheritance. The firt test to make is to
    simply the problem. Use a report descendent in which you do not override any
    of our methods and see if the problem goes away. Then start adding your
    overridden code until the problem reappears. That way you can figure out
    where in your code which may be causing the problem.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited April 2003

  • edited April 2003
    "Jim Bennett (Digital Metaphors)" a ?crit
  • edited April 2003
    Instead of inheritance, use report templates. This way you can load a report
    template and continue building on top of it in a new report object. RB does
    not explicitly support report inheritance.

    There is a demo which shows how to create common report header/footer/title
    bands in all of your reports by dynamically loading templates into
    subreports. See the EndUser demo directory for an example of creating
    reports using dynamically loaded subreports. The result is that you can
    modify one template and it will be reflected in all reports that are using
    the dynamically loaded subreport to show the template inside the main
    reports.

    Do not mix form inheritance with report templates, as it won't work.

    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.