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

Incorrect message in preview

edited May 2005 in Subreports
I have a multi-subreport with 4 layers of drill down. I also provide the
use with the expand all option for the previews.

With the Expand All option not checked, the previewer shows No Outline:
DrillDown not supported. Yet, drill down is capable.

If I have my user check expand all, the left side of the preview shows Main
and a number tree from 1 .. 10. Also, once the Expand All procedure is
used, the user is not able to collapse the Drill Down.

and one more thing... is it possible to add an Expand all button and
Collapse All button to the previewer. (I know the answer but if you have
some code handy, I'll take it) ;)
TIA
Larry

Comments

  • edited May 2005

    I tested this and it working as designed.

    1. For a DrillDown report, the outline is not supported - in other words no
    outline is produced. I recommend configuring the report so that the outline
    viewer is not shown (Report.OutlineSettings.Visible := False).

    2. When ExpandAll is selected, the drill down feature is turned off. The
    report is generated with all of the detail data showing. The expansions
    cannot be collapsed. This feature was added primarily to enable a report to
    be printed to the printer with all of the detail.

    3. Here is a downloadable example of adding a button to the previewer that
    can toggle the expansions on/off. This is a cool feature..

    http://www.digital-metaphors.com/tips/PreviewAndToggleExpandAll.zip




    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited May 2005
    Thanks Nard,
    You the coolest!


This discussion has been closed.