printbehaviour pbRegion
Hi,
I have a report with several subreports. The main report has no data on it,
just 2 subreports.
Main Report (NoDatabehaviour = blankPage)
- SubReport1 (NoDatabehaviour = blankReport)
- SubReport2 (NoDatabehaviour = blankReport)
The 2 subreports have printbehaviour set to pbRegioin. I had to set this
because the first subreport is landscape and the other one is portrait.
The preview and printing works fine, only I have a blank page as the first
page. I guess this is because the printbehaviour pbRegion starts the
subreport on a new page.
The main report has nothing visible on it.
How can I disable the first page of being enmpty ?
We are using Delphi 7 / RBuilder 7 Enterprise
Regards,
Wouter Devos
I have a report with several subreports. The main report has no data on it,
just 2 subreports.
Main Report (NoDatabehaviour = blankPage)
- SubReport1 (NoDatabehaviour = blankReport)
- SubReport2 (NoDatabehaviour = blankReport)
The 2 subreports have printbehaviour set to pbRegioin. I had to set this
because the first subreport is landscape and the other one is portrait.
The preview and printing works fine, only I have a blank page as the first
page. I guess this is because the printbehaviour pbRegion starts the
subreport on a new page.
The main report has nothing visible on it.
How can I disable the first page of being enmpty ?
We are using Delphi 7 / RBuilder 7 Enterprise
Regards,
Wouter Devos
This discussion has been closed.
Comments
The first report should be in the title band and it should be set to be a
child type subreport. Then place the section subreport in the detail of the
main report. That way the first subreport will start on the first page and
then the section subreport will print on a new page when it goes to print.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
Thanks for the help. I'll try it out in the morning.
Will the first report print landscape too, whatever the main report has for
the printersettings?
Regards,
Wouter Devos
printer setup.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com