I have used variables in my the header section to print a header based on variable information. Since the header is not created until the whole page is written, this is a very plausible solution. I have used both the evaluate statement and also just simple if statements. ---------- From: Ray Ontko[SMTP:rayo@ONTKO.COM] Sent: Wednesday, August 21, 1996 5:16 PM To: Multiple recipients of list SQR-USERS Subject: Re: How does SQR page-break when writing many detail lines? > I need to make an SQR report reprint a column titles for a group of detail > records each time it new-pages while writing them. In this case I have a > report that has room to write about 30 records to a page after it writes the > report header. If I'm writing some thing like 45 detail lines, the 15 lines > on page 2 have no column titles. I can't make the column titles part of the > report header because they differ depending on what records are being > retrieved. Does anyone know of a variable or something that I can key off > of to write a condition to reprint the column titles if record detail is > split across pages? Any suggestions would be greatly appreciated... Kent, Have you looked at DECLARE-PROCEDURE AFTER-PAGE= and BEFORE-PAGE= ? I have used these to do something similar. Ray ---------------------------------------------------------------------- Ray Ontko | Ray Ontko & Co | "Ask me about SQR and the WEB." rayo@ontko.com | Richmond, In | See us at http://www.ontko.com/
Unrecognized Data: application/ms-tnef