Print a subreports at a specific position
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
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
This discussion has been closed.
Comments
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
Fine it works !
Thank you...
Frédéric