Home Subreports

PageSetDesc problem

edited April 2003 in Subreports
Dear all,

I have tried to print some reports using "Group" and "Subreport", I have
placed a system variable "PageSetDesc" in the subreport, during preview, I
found that the PageSetDesc is calculated wrongly, it displays "Page 1 of 1"
then "Page 2 of 2" in second page, then "Page 3 of 3" in 3rd page...

To let you know the problem, I have modified the RB build-in demo program's
report 61 to demonstrate my question. The zipped EXE can be downloaded in
http://raymondicy.uhome.net/Demo.zip

Please advise

Thanks,
Raymond Ng

Dear all,

I have tried to print some reports using "Group" and "Subreport", I have
placed a system variable "PageSetDesc" in the subreport, during preview, I
found that the PageSetDesc is calculated wrongly, it displays "Page 1 of 1"
then "Page 2 of 2" in second page, then "Page 3 of 3" in 3rd page...

To let you know the problem, I have modified the RB build-in demo program's
report 61 to demonstrate my question. Both zipped EXE and report format is
attached.

Please advise

Thanks,
Raymond Ng

Comments

  • edited April 2003
    This is correct for a one pass report. The pages are being generated as you
    request them. Set the Report.PassSetting to psTwoPass. This causes the
    report to paginate all the pages in memory without creating any output
    pages. The page count will be known when you request the first page of a two
    pass report.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.