[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Multi layout printing issue



Dear all,

I need to print a three parts report. First part needs to be in landscape,
seond part is portrait and the late part landscape again. Somehow, when I
run my program, SQR seems to bundle up all portrait pages and print them
before pages in landscape. Can anyone shed some light on this area?

My set up and main program section is as follow:

begin-setup

! ------ DEFINE THE LAYOUTS -----------------------------------
declare-layout portrait-layout
  Orientation=Portrait
end-declare

declare-layout landscape-layout1
  Orientation=Landscape
end-declare

declare-layout landscape-layout2
  Orientation=Landscape
end-declare

! ------- DEFINE THE REPORTS
declare-report customer-detail
   layout=portrait-layout
end-declare

declare-report customer-summary1
   layout=landscape-layout1
end-declare

declare-report customer-summary2
   layout=landscape-layout2
end-declare

end-setup


! ----------- START THE PROGRAM ------------------------------------
begin-program

   use-report customer-summary1
   print 'Summary Section 1' (1,1)

   use-report customer-detail
   print 'Detail Section' (1,1)

   use-report customer-summary2
   print 'Summary Section' (1,1)

end-program