PrintToPreviousPage

BJLBJL Brussels, Belgium
edited 12:12AM in FastReport 3.0
I have a report with no dataset. Data are sent to the report through OnGetValue. The report has several sections, each one on its own page in design mode. However I don't want a page break for each section. So I use, starting with page 2, 'PrintTopreviousPage'. The problem is that the new page does not print on the first white space of the previous page, but at the beginning of the page, overprinting the existing text.
Is it necessary to use a specific variable taking the CurrentY value of the end of the previous page to assign the start of the next one, or is it a simpler way to solve the problem?
Thanks for helping.

BJL

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 12:12AM
    Print onpreviouspage is usually used in context of composite reports.
    Possible your design pages should really be designpages of a subreport object
    placed within a band on the first design page, or separate reports run as composites.
    Post a small demo app to the public.binaries newsgroup.
    ;)
  • BJLBJL Brussels, Belgium
    edited 12:12AM
    Thank you Gord!

    The problem was because I placed the MemoViews directly on the Page.
    I solved the problem in setting these MemoViews within a MasterData band (on each Page) and linking the band to 'Single Row'.

    Regards

    BJL
  • gordkgordk St.Catherines On. Canada.
    edited 12:12AM
    Tes that solves it when a memo is placed directly on a page yhere is no way for the engine to determine freespace remaining.
    ;)

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.