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

Re: Forcing a page-break



Something along these lines should work:

        if #MAXLINES - #CURRENT-LINE < #LINES_NEEDED
                new-page
        end-if

HTH
John Milardovic

> -----Original Message-----
> From: Mary Williams [SMTP:mwilliams4@MAIL.STATE.TN.US]
> Sent: Tuesday, November 23, 1999 11:42 AM
> To:   Multiple recipients of list SQR-USERS
> Subject:      Forcing a page-break
>
> Does anyone know of a neat way to force a page-break on a tabular SQR
> report?  In some reports I would like to force a page break before a group
> heading when there is not enough space left on the page to print at least
> one detail line.  Easy enough to find the #current-line, but how force a
> new page?  (The print=change/top-page option is not acceptable since I
> want the heading to occupy a full line.)