Report summary
Posted in 2008
Topics: General Discussion
Dear all, I write a report which had a page header on each page. Also I use 'Before Group' and 'After Group' for group record. I put a summary listing at the end of each group. Unfortunately, if the summary listing is very long, it will put the page header in the listing that does not look good. Do you have any method disappearing the page header in the summary listing? Thank you very much! Ron
Ron- If you're using 4gl (and maybe just ACE), the manual seems to indicate that this may work. I didn't have time to test it. DEFINE last_page SMALLINT LET last_page = 0 ... PAGE HEADER IF ( last_page = 1 ) THEN PRINT " " PRINT " " PRINT " " ELSE PRINT "This is" PRINT "my usual" PRINT "report header." END IF ... ON LAST ROW LET last_row = 1 If it doesn't work, try passing in a flag to tell the report that you're sending the last record. --EEM > -----Original Message----- > From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of NRON > NRON > Sent: Monday, February 18, 2008 8:05 PM > To: ids@iiug.org > Subject: Report summary [11330] > > Dear all, > > I write a report which had a page header on each page. Also I use 'Before > Group' and 'After Group' for group record. I put a summary listing at the > end > of each group. Unfortunately, if the summary listing is very long, it will > put > the page header in the listing that does not look good. Do you have any > method > disappearing the page header in the summary listing? Thank you very much! > > Ron > > > ************************************************************************ ** > ***** > Forum Note: Use "Reply" to post a response in the discussion forum. > > See you at the IIUG Informix 2008 Conference > The Power Conference for Informix Professionals > April 27 - 30, 2008 Marriott Overland Park (Kansas City), Kansas > http://www.iiug.org/conf > Registration Now Open!!