`
Par2: Do not print page header on first page of report 2014-05-29 -- Lee White > Hi. I have a report that could be several pages long (the report is only for > one person). I don't want to print the header on the first page of the > report. How do I get it to not print? Thanks! Hide each control in the header just after the report has opened and before the first PRINT() command. After the first PRINT() you can unhide those same controls and the header will print on subsequent pages. If you're asking that the header area can be used for other things on the first page it's doable but a bit more complicated. For this you would need to change the Y position and H value of the AT() for the report since it determines where detail bands are printed. You would also need to know when the first page is finished so you can reset the AT() and unhide the controls in the header. Graham Dawson: Actually I've just run a test using the data from the shipping School example and you're absolutely correct if you use code to hide the header controls before the first print then you can't unhide them again using code. (at least not any code I tried - UNHIDE, SETTARGET bracketed prop:hide = False, prop:visible etc etc) What _does_ work is to use the Report designer to set the Hide attribute on each of the Header band controls. Then let the first print statement execute and follow _that_ with a series of report$?YourControl{prop:hide} = False statements. Printed November 21, 2024, 7:13 am This article has been viewed/printed 35240 times. |