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

Report OutLine (Dubble Post ??)

edited November 2005 in General
[This might be a double post, i'm still having the original in the Sent
Items of OutlookExpress but can't find the post on this group, so re-post]

I would like to have a other approach to the report outline, question any
suggestion on how.

My reports had a Main with 3 subreports, each as a section.
2 sections are containing 1 group and every detail has 4 to 9 subreports.
Most of the subreports are having a header that starts a new page.
The first 2 levels of the outline are working fine, the lower levels are not
needed, but what i would like to have between these 2 levels are the
pointers to the pages of these other subreports.
I could use set page numbers, then accept of decline a page outline, even by
changing the name, but how can i 'send/feel' what Subreport is being
printed, because the node creator is the TppGroup of the Sections in the
Main report.
I should be able to sense what subreport is begint printed and not what is
causing the outlinenode creation !

This would be my 'dream' tree

OverAll (First Section Subreport)
OverStaffing (First Subreport in the section, can go from 1 to 4 page)
SunkCost (Second Subreport in the section, always 1 page and no more)
OpportunityCost (Thirth SubReport in the Section, from 1 to 5 pages)
MasterTills (Second Section Subreport of the Main)
Till-Bar (First Group Header)
OverStaffing (First Subreport in the group, can go from 1 to 4 page)
SunkCost (Second Subreport in the Group, always 1 page and no more)
OpportunityCost (Thirth SubReport in the Group, from 1 to 5 pages)
.... 4 more subreports
Till-FastLane (First Group Header)
OverStaffing (First Subreport in the group, can go from 1 to 4 page)
SunkCost (Second Subreport in the Group, always 1 page and no more)
OpportunityCost (Thirth SubReport in the Group, from 1 to 5 pages)
.... 4 more subreports
Till-CandyCorner (First Group Header)
OverStaffing (First Subreport in the group, can go from 1 to 4 page)
SunkCost (Second Subreport in the Group, always 1 page and no more)
OpportunityCost (Thirth SubReport in the Group, from 1 to 5 pages)
.... 4 more subreports
Details Tills (Thirth Section Subreport of the Main)
Till-Bar Front (First Group Header)
OverStaffing (First Subreport in the group, can go from 1 to 4 page)
SunkCost (Second Subreport in the Group, always 1 page and no more)
OpportunityCost (Thirth SubReport in the Group, from 1 to 5 pages)
.... 4 more subreports
Till-Bar VIPRoom (First Group Header)
OverStaffing (First Subreport in the group, can go from 1 to 4 page)
SunkCost (Second Subreport in the Group, always 1 page and no more)
OpportunityCost (Thirth SubReport in the Group, from 1 to 5 pages)
.... 4 more subreports

Comments

  • edited November 2005
    Hi Harry,

    Sorry for the delay.


    I'm a bit unclear what you mean. Do you want to remove the lower levels and
    add some custom enteries to the outline? Are the lower levels of the
    outline incorrect?


    If you are perhaps using the TppSubreport.OnPrint event, you could check the
    name of the Sender object to find out which subreport is printing.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2005
    Yes, the first 2 levels generated by the default outline builder are good,
    so i only selected these levels in the outlines to be generated.
    But i also selected the Create Page Nodes, in order to be able to test on
    each page what sunreport is on it, and so, if i want a node to Accept it and
    maybe change the 'Page x' label to my custom text, if i don't want a entry
    for this to NOT accept the creation and so not to have a node.

    By using the OnPrint of the TppSubreport ... do you mean calling the
    OnNodecreate method form the onprint routine and not create the page nodes
    automatically ?


This discussion has been closed.