The title band a dynamic height band so it should be able to overflow to the next page when space runs out. In my quick testing with RB 10.04 and Delphi 7, the title band successfully overflowed to the next page when a stretchable memo became too big. Be sure you have the PrintHeight of the band set to phDynamic.
The NewPage property is used to print the title or summary band on it's own single page. It was not designed to allow multiple pages. Below are a few work-around options.
1. Try creating a new report with only a detail band. Inside the detail band place two Section style subreports. The first subreport will represent the title band and the second subreport will contain all other report information from before. This should give you the exact effect you are after.
2. Take a look at the article located in the Tech-Tips newsgroup in the Pagination thread about forcing a page break. You could perhaps get the effect you are after using one of those techniques.
3. ReportBuilder 9 introduced the TppPageBreak object that allows you to break to a new page when ever you like inside a report. You might try downloading the latest version of ReportBuilder and testing with that.
I would recommend trying the first suggestion I gave using the two section style subreports. This will take minimal redesign work and should give you the exact effect you are after.
Comments
The title band a dynamic height band so it should be able to overflow to the
next page when space runs out. In my quick testing with RB 10.04 and Delphi
7, the title band successfully overflowed to the next page when a
stretchable memo became too big. Be sure you have the PrintHeight of the
band set to phDynamic.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I forgot to write that I'm using
ReportBuilder 7.04 and Delphi 6.
PrintHeight is already set to phDynamic and ppMemo.Stretch is true.
Thank
I set titleband.NewPage := true because I need the titleband separate
from the data of the report.
If I set titleband.NewPage := false it work !
but it is not what I need.
Some Ideas ?
The NewPage property is used to print the title or summary band on it's own
single page. It was not designed to allow multiple pages. Below are a few
work-around options.
1. Try creating a new report with only a detail band. Inside the detail
band place two Section style subreports. The first subreport will represent
the title band and the second subreport will contain all other report
information from before. This should give you the exact effect you are
after.
2. Take a look at the article located in the Tech-Tips newsgroup in the
Pagination thread about forcing a page break. You could perhaps get the
effect you are after using one of those techniques.
3. ReportBuilder 9 introduced the TppPageBreak object that allows you to
break to a new page when ever you like inside a report. You might try
downloading the latest version of ReportBuilder and testing with that.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I've already tryied the Tech-Tips newsgroup in the
Pagination thread about forcing a page break.
I do this operation:
1. From the Report Designer, select Report | Groups
to access the Group dialog.
2. Define a group based upon a static component,
such as a Label or Variable. Click the
Start new page checkbox. Close the dialog.
This is ok, but the object created is a 'TppGroupHeaderBand'
not a 'TppGroup', so I cannot
"4. Create an event-handler for the Group's
OnGetBreakValue event."
What I wrong ?
I read again the tip and I understand.
Unfortunately this solution doen't work.
thank you again Nico,
I would recommend trying the first suggestion I gave using the two section
style subreports. This will take minimal redesign work and should give you
the exact effect you are after.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
thak you for your suggestions.
I implement your first suggestion and it work fine.
Thank you again.