I have a report that I would like to print a footer on every page, and thus I am using the Report Header 'F'. It works properly for every page, except the last page. It does not print on the very bottom of the last page, but skips a page, and prints on the bottom of a blank page after the last report page. I believe the cause of this is another report header, '1', which is at a control break for the end of the report. However, I am using absolute line numbers, and cannot see why this should not work.
Any ideas?
Matthew Brand
Data Systems Inc.
Burlington, VT

Report footer using Rpt Header ID 'F'
Started by mattbrand, May 08 2003 03:06 PM
3 replies to this topic
#3
Posted 12 May 2003 - 04:21 PM
No, there are no skip lines set in the control break of screen 1.
Header 1, which is used in the control break, starts at absolute line 59, and prints on lines 59. 61. 63 and 65. Header F starts at absolute line 76, and prints on lines 76-80. I had to bump the maximum line # for report headers to 80.
This still is not working for me...any other ideas?
Matt
Header 1, which is used in the control break, starts at absolute line 59, and prints on lines 59. 61. 63 and 65. Header F starts at absolute line 76, and prints on lines 76-80. I had to bump the maximum line # for report headers to 80.
This still is not working for me...any other ideas?
Matt
Edited by mattbrand, 12 May 2003 - 04:22 PM.
#4
Posted 12 May 2003 - 05:33 PM
Reports are fun, aren't they?
Some ideas:
Perhaps you need to add another control break for &$EOF and DSEL it before the other control break.
If you're using a skip-value (ie, 999) perhaps that control break line needs to be DSEL'd-(CB).
Another idea would be to bump the "80" to "81" and see if that helps. (I'm not sure if the "80" includes the exact number of lines needed for the Footer (F) or if it is
not calculated as part of that number)
Try printing to an output file to compare a printed example. I'm wondering if your blank page even has a page header; if it doesn't, it would seem that your "page" is too long (roll back the 80 to a lower number). With the flat file, check for control characters. There should be a Page-feed character, or several blank lines to act as page feed.. You may have to literally get out the ruler and count how many blank
lines are there, etc.
Good luck.. be curious to see how this turns out..
-Kevin

Some ideas:
Perhaps you need to add another control break for &$EOF and DSEL it before the other control break.
If you're using a skip-value (ie, 999) perhaps that control break line needs to be DSEL'd-(CB).
Another idea would be to bump the "80" to "81" and see if that helps. (I'm not sure if the "80" includes the exact number of lines needed for the Footer (F) or if it is
not calculated as part of that number)
Try printing to an output file to compare a printed example. I'm wondering if your blank page even has a page header; if it doesn't, it would seem that your "page" is too long (roll back the 80 to a lower number). With the flat file, check for control characters. There should be a Page-feed character, or several blank lines to act as page feed.. You may have to literally get out the ruler and count how many blank
lines are there, etc.
Good luck.. be curious to see how this turns out..
-Kevin
Reply to this topic

0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users