Build reports

edited 10:44AM in FastReport 4.0
Hello

I'm building report from many varios reports with PreviewPages.AddFrom method
After first, basic report, I'm adding random number of reports...

Everything works ok except PAGENO

Every added report contains PAGENO system variable !!! (memo, could be with different name on each report)
There is no group header so I can't define variable and reset it on before print

I'm looking the way to increase pageno system variable on added report(s)

Is it possible or is there some access to PAGENO variable?

Regards
Srdjan

Comments

  • Anu de DeusAnu de Deus Hampshire, UK
    edited 10:44AM
    Read this, might help, specially the LAST entry:
    http://www.fast-report.com/en/forum/index....lt;page>
  • edited 10:44AM
    no, it doesn't work
  • gpigpi
    edited 10:44AM
    Try to create composite report instead of PreviewPages.AddFrom method
  • edited 10:44AM
    Sorry for the late response, I'm pretty busy.
    thanks for suggestions, I will try composite reports in following couple days.
  • edited 10:44AM
    Let's go back [img]style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> For you, what does mean composite reports instead of PreviewPages.AddFrom?[/img]
  • edited 10:44AM
    On the end, solution was to iterate through PreviewPages and manually write page number to MemoView object.
    Memoview for page numbering has same name on all reports, lucky!

    Thanx for responses

    Regards
    Srdjan
  • gordkgordk St.Catherines On. Canada.
    edited 10:44AM
    srdjos wrote: »
    Let's go back :)

    For you, what does mean composite reports instead of PreviewPages.AddFrom?
    read the programmers manual on composite / Batch reports

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.