powerbuilder

Extra blank page occur in composite datawindow - Power Builder


I have a composite dw where two reports are in detail band. It will print out second report whenever there is any data related. But for sure, first report will always be printed out.

I am currently having an issue with the first report. If no data for second report, it prints only first report, however, there is an extra blank page. When second report is print altogether, it is all good, no extra blank page.

I have checked it, it is all within margin. If I print separately (meaning don't use composite dw), it will have no extra blank page for first and second report.

Also, for the second report in composite dw, it looks a bit weird. The height for second report should be exactly as the red boxes, but it print only half.

Please check the image for composite dw preview report

Any ideas on what's going on?


Solution

  • You didn't mention which PowerBuilder version, but, composite datawindows have always been temperamental for me.

    Some tips:


    This isn't a great solution but I suspect it will work.

    If there is no data for the second report then insert a row into the second report.

    You will need to

    Please let us know how you resolve your issue