Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Regenerate Report Question

edited February 2003 in General
Hi,
I have a situation where I have previewed a 1 page report and I allow the
user to change
the report margins which will then call ppviewer1.RegenerateReport to
reflect the new
margin settings.

This works well until the top margin starts to push the bottom of the report
onto another page, but there is no second page being produced. I have
checked the
AbsolutePageCount and PageCount values after calling RegenerateReport and
both still say 1 rather than 2.

Should RegenerateReport create a second page or do I have to call something
else?

(I am using RB Pro 7.0)

Any help appreciated.

Luke.

Comments

  • edited March 2003
    If you regenerate the report, the pagination should be able to change. I
    checked the code, and RegenerateReport does cause the reset of the
    publisher's page cache. Can you send a simple example to
    support@digital-metaphors.com that shows the problem?


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited March 2003
    Hi Jim,

    On further investigation I had the reports detail band PrintHeight set to
    Static, so
    I changed it to Dynamic which seemed to fix the problem.

    Thanks for your help,

    Luke.

This discussion has been closed.