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

Print a subreports at a specific position

edited August 2005 in Subreports
Hello,


I have 2 subreports in a section one beside the other.

I would like to start the print position of the second sub at the last
record position of the first.
(Like ShiftRelativeTo + negative offset...)

How can I do this ? Us the 'OnPrint' event ?
I tried several things but at this time I couldn't get the last position
of the first subreport.

Can someone give me a tip ?


Thanks


Frédéric

Comments

  • edited August 2005

    Try specifying a BottomOffset for the first subreport...

    subreport1.BottomOffset := -1; // negative bottom margin

    subreport2.ShiftRelativeTo := subreport1;


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



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited August 2005
    Nard Moseley (Digital Metaphors) wrote:
    Fine it works !

    Thank you...


    Frédéric
This discussion has been closed.