Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to print page header in the summary page

Status
Not open for further replies.

binhpham

Programmer
Oct 12, 1999
33
US
Hi all.
I need to print an invoice with more than 1 page, with page header for every page, and summary at the bottom ( I don't want summary lines print to new page). It is Ok until the summary lines have to go to another page (cuz no more room for summary lines at the bottom of the page). In this case , How do I make the page header print on top of this summary page?.
Thanks a lot for your help
 
binhpham

The only workaround I found was to duplicate the pageheader in the summary band. (Meaning copying all the same variables) Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Thanks for your help Mike, I did that , but i don't want page header show in summary band all the time, only when summary has to be on top of a new page. Remember I did not set Summary band as print on new page, it happened only when no more room on the bottom of the last page for summary band.
Any other solution please ?
Thanks
 
you can place a dummy field in the detail section of the report...in the print only when expression is true put a .f. and set the remove line if blank (so it never prints and make sure that the dummy field is the same size as your summary band)...that way it will trick VFP into thinking that it must have enough room for the summary at the bottom of the last page of records...if not it will print the page header and at least one detail line and the summary on the last page Slighthaze = NULL
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top