1. Michael Kench
  2. PowerBuilder
  3. Thursday, 13 June 2019 04:15 AM UTC

Hi Guys,

Any ideas If/how I can create a single datawindow report which has the 1st page portrait and the second as landscape. Would this be possible with a composite report with 2 nested reports.

Any ideas would be appreciated.

 

Thanks Michael

Brad Mettee Accepted Answer Pending Moderation
  1. Thursday, 13 June 2019 13:12 PM UTC
  2. PowerBuilder
  3. # 1

This is not possible with a single report. When you print a datawindow, it can only do Landscape/Portrait for the entire job.

What you'll need to do is use PrintOpen, PrintDataWindow once for each portion of the report, and PrintClose. This will create a single print job (to keep your report together), and allow you to do Landscape/Portrait mixing. There are other direct print functions if you need them (see references in PrintOpen for the full list).

 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.