How to switch orientation from Portrait to Landscape and then back to Portrait

Hello,

I have a report where the Orientation is in Portrait. I also have a sub report that I want to print in Landscape. How do I switch from Portrait to Landscape for the sub report and then back to Portrait?

Thanks,

Dave

Comments

  • PolomintPolomint Australia

    G'day Dave,

    I haven't had to do this, and I haven't tested this out, but...

    The Orientation Property is attached to the TfrxReportPage instance for your report. Can you add two more instances and have the second one "Landscape" and the other two "Portrait"?

    Not sure how easy / hard that is to do for you.

    Cheers, Paul

    P.S. The closest we come to this is via "Composite" Reports where we merge multiple separate Reports into one PDF document.

    -P

  • Paul,

    Thanks for the reply. I tried your suggestion, but I think that the problem is the sub report sits on Page 1 which starts off as Portrait and cannot be changed. I tried added a Page 2 putting and put the sub report on it, but I got other issues such as only 1 row being printed and that is from the last record on Page 1. I have Collate checked, but still no luck.

    Dave

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.