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

Labels show but don't print in 7.04

edited July 2005 in General
Hi,

I am in Delphi 5, with Rbuilder 7.04.

I have a report that is not connected to a database.
Int the detail band I added a couple of labels on that report.
I also add a sub report to the detail band which I mark as a Section but I
don't put anthing in it.
I added a third label and put it right next to the first two.

The third label will show in the designer but it will
not preview. Nor will it print.

It looks like anything I add after that Section subreport
is ignored.

The RTM looks right. To paraphrase it shows

Report Object
Detail Band Object
Label 1 Object
Label 2 Object
Sub Report Object
Child Report Object
...
End Child Report Object
End Sub Report Object
Label 3 Object
End Detail Band Object
End Report Object

But, anything fater the Sub Report Object does not display
even though they should print above the sub report.
Any suggestion?

Thanks,
Joseph Gordon

Comments

  • edited July 2005

    What is the desired output?

    Try removing the section subreport. A section subreport generates a page
    break - it does not make sense to place a section in a band that contains
    labels, dbtext, etc...



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



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited July 2005
    Hi,

    The report had labels for a first page.
    At the bottom of this there is a section subreport to create a new page.

    This subreport has a detail band with labels on it
    and at the bottom of it there is a section subreport to create a new page.

    This subreport has a detail band with labels on it
    and at the bottom of it there is a section subreport to create a new page.

    and so on for 5 pages.

    This worked fine when I entered it. If I go back to add another label
    to the first page which has labels on it, that label is put in rtm after the
    subreport and so does not print.

    I am able to change the report so that the Main has all the subreports
    including a new subreport for the first page. But I was suprised when
    I put down a label on a page that looked like any usually label and it
    shows on the designer, but is gone when you preview or print. So,
    the lesson here is if you drop a label down and it does not preview,
    check to see if you have a section subreport in that band.

    Thanks,
    Joseph Gordon







  • edited July 2005

    RB 9 has a new PageBreak component....





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


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited July 2005
    Hi,

    I own RB9 but can't use it since the product is
    in Delphi 5.

    Thanks,
    Joseph Gordon


This discussion has been closed.