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

Re: Breaking 'like' text



I think you need to use the need command


I havent used it but look on page 115 of the users guide at the next-listing
command

At 21:50 02/12/97 -0500, you wrote:
>I am writing a SQR which reports employees by department and causes a page
>break when deptartment changes.  This works fine, but the problem is that
>each employee has multiple lines and sometimes a page-break is caused when
>only a few of the employee's lines are printed.
>
>i.e.
>
>emplid01   xxxx xxxx  xxx
>                xxxx xxxx xxx xxx
>                xxxx xxxx xxx xxx
>                xxx xxx xxx xxx
>
>emplid02   xxx xxx xxx xxx
>--- page break ---
>               xxx xxx xxx xxx
>
>emplid03  xx xxx xxx xxx
>               xxx xxx xxx xxx
>               xxx xxx xxx xxx
>
>etc.
>
>
>Is there a simple way to keep these lines together so that emplid02
>willstart on a new page?  The number of lines of information for each
>employee may differ.
>
>Thanks in advance
>
>     --_ Scott _--
>
>
Wm. G. Northen                  "Founded by Thomas Jefferson, 1819"
Programmer/Analyst              Unix, SQL, SQR, Sybase, Windows, ECT,
Development Group               Internet wgn3c@phil.dev.virginia.edu
University of Virginia          Tel (804) 924-3949