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

=?UTF-8?B?UkU6IEVYVFJBIEJMQU5LIFBBR0UgQVQgVEhFIEVORCBPRiBUSEUg?= =?UTF-8?B?UkVQT1JUICh1cGRhdGUp?=



Long way round but always works ...

Forgo the on-break and keep track of the number of
items printed on each page and then force the NEW-PAGE yourself
at the desired point. Could even use an array as storage etc.,
This will insure nothing ever prints on the actual page break ...

- Paul

-----Original Message-----
From: Anna Mendenhall [mailto:Tatchagata@AOL.COM]
Sent: Thursday, July 18, 2002 1:25 PM
To: SQR-USERS@list.iex.net
Subject: EXTRA BLANK PAGE AT THE END OF THE REPORT (update)


It might be, but why so many reports are affected? Actually, ALL the reports
that use ON-BREAK option print an extra blank line at the end.  My logic is
pretty simple. I have a main select that contains ON-BREAK option:

begin-procedure main-select
begin-select
….
&new_code () on-break print=never after=newpage
…..
from …
                    do print-record
end-select
end-procedure

begin-procedure print-record

       print $LastName       (+1,20)
        print $FirstName       (  , 40)
…
end-procedure

I can’t figure this out… Any ideas? And thank you for the response

Regards,