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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stop summary band from printing by itself

Status
Not open for further replies.

BlackDice

Programmer
Mar 1, 2004
257
US
I have a rectangle that is a few inches tall in the summary band. If there's not enough room on the page after the last detail, it prints the summary band on a new page. This is fine. But the page header and page footer bands are not printing on the new page. How can I stop this from happening? (I'm using VFP 7)

BlackDice

 
A possible workaround: remove the summary band. Put the summary band stuff into the detail band and use the "print when" option so that it only prints after the last record (maybe RECNO() = RECCOUNT() ). Also specify "remove line if blank."

Jim
 
Better yet (simpler) create a data group based on EOF(). Place the summary band items in the group footer.

Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top