PrintToPreviousPage

BJLBJL Brussels, Belgium
edited 10:48PM 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 10:48PM
    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 10:48PM
    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 10:48PM
    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