Blank pages in report ?
Hello,
I've set up a report to print the contents of a database table. As far as I can see the entire table is being printed in the report preview. The data takes up 40 pages, however it is then followed by another 131 extra blank pages.
The report has a title band and a Master Data band, with the Master Data band linked to the datasource via the frDBDataSet control.
I'm using FastReport 2.53, Delphi 5 Pro on Windows XP, with NexusDB as the database table.
I've also tried using other tables and get the same behaviour i.e. the data is output to preview followed by numerous extra blank pages.
Can anyone give me an idea where I'm going wrong with this please.
Any assistance gratefully appreciated.
Graham A Welsh
Targeted Software Solutions Ltd
I've set up a report to print the contents of a database table. As far as I can see the entire table is being printed in the report preview. The data takes up 40 pages, however it is then followed by another 131 extra blank pages.
The report has a title band and a Master Data band, with the Master Data band linked to the datasource via the frDBDataSet control.
I'm using FastReport 2.53, Delphi 5 Pro on Windows XP, with NexusDB as the database table.
I've also tried using other tables and get the same behaviour i.e. the data is output to preview followed by numerous extra blank pages.
Can anyone give me an idea where I'm going wrong with this please.
Any assistance gratefully appreciated.
Graham A Welsh
Targeted Software Solutions Ltd
Comments
Some printers produce over spill as seperate pages at the end, over spill being an object that is trying to extend into the non printable area of the printers page.
what seems to cure this is to open the fr_printer.pas file and uncomment the conditional define prnreset recompile library and app.
Thanks for the reply.
So this applies even in preview mode, as I haven't tried printing this report yet (don't want to decimate any forests ) ?
I'll try out your suggestion and see what happens.
Graham A Welsh
Targeted Software Solutions Ltd
the preview is just a view of the emf pages produced by the engine before being sent to the printer.
Any ideas on where to look for the problem.
Thanks again.
Graham A Welsh
Targeted Software Solutions Ltd
i'll take a look
Zipped files emailed as requested.
I have now managed to get a properly functioning report having eventually installed my shiny new FastReport 3 and using that instead of FR 2.53. I don't think I did anything different, it just worked properly, without any extra blank pages.
It will still be interesting to see what I'm doing wrong as I have other apps using FR 2.53 that I have not yet converted.
Thanks again for the help.
Graham A Welsh
Targeted Software Solutions Ltd
check your report design for hidden duplicate data bands.
probable cause adding a datafield to a band and leaving the create band option turned on.