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

RE: [sqr-users] on-break and multi-line printing



Steve Cahill suggested:

What about a after=procedure
E.g.
observation (1,1) on-break print=change/top-page level=1 after=newobs
sex (2,3) on-break print=change/top-page level=2
group (,14)

Begin-procedure newobs
Next-listing skiplines=1 need=2
End-procedure


and that was a start down the right path.  what actually worked was


observation (1,1) on-break print=change/top-page level=1 after=newobs
         next-listing
sex (1,3) on-break print=change/top-page level=2
group (,14)

Begin-procedure newobs
Next-listing skiplines=1 need=2
End-procedure

In other words, I really have two nested loops here.  When observation 
breaks, the newobs procedure accomplishes the line skip and checks for room 
at end-of-page.  The next-listing before sex accomplishes the line advance 
for each detail line.

Thanks, Steve.

Dave Donnelly           <dave@isisbio.com>
ISIS BioComp            phone (951) 677-2446      fax (775) 314-7897


_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users