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

Left margin of sub-report

edited March 2002 in General
In a sub-report I am attempting to print two columns on the right hand
side of the 8.5x11 " landscape report.
The two columns are printed correctly except it prints at a left margin
of .5 regardless of how I set the sub-report MarginLeft (trying to use
5.75).
Using RB 5 pro with Delphi 5 pro.
What am I missing?

Comments

  • edited March 2002
    You can accomplish this by selecting File->Page Setup and modifying the
    Column Positions on the Layout tab.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

  • edited March 2002
    That worked!! Thank you!
    Following the two column sub-report, I have a one column sub-report that is
    marked Shift Relative to SubReport1 and with a PrinterSetup.MarginLeft = 5.75

    but it prints on the left side.
    The File / Page Setup / Layout doesn't seem to allow a specification for a
    one column.
    What can I do for this?


  • edited March 2002
    Set the ParentWidth property of the subreport to False. Then you can adjust
    the width of the subreport within the band and set it's left edge at the
    5.75 mark.


    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors



  • edited April 2002
    I appreciate you help, but I still can't get this to print right.

    The ParentWidth and ParentPrinterSetup were already set to false for both
    subreport1 and 2.
    Parent: (Prints correctly)
    MarginLeft is .5
    Orientation is Landscape
    Papername is Letter 8 1/2 x 11
    Subreport1: (Prints correctly, two narrow columns on the right side)
    MarginLeft is .5
    File/Pagesetup/Layout/Column 1 is 5.25
    Subreport2: (should be on the right side, directly below Subreport2)
    ShiftRelativeTo: ppSubReport1
    MarginLeft is 5.5

    Subreport2 prints on the left side, instead of right side,
    midway down the page, not at the top edge of, nor below Subreport2.
    It should print below Subreport1.

  • edited April 2002
    Make sure that the ShiftRelativeToProperty of Subreport2 is set to
    Subreport1.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

This discussion has been closed.