MasterDataset Record in Page Footer

edited 6:30PM in FastReport 4.0
I noticed in June of last year a problem with the MasterDataset jumping ahead one record in the Page Footer. Reading through the thread, I saw the issue was unresolved. I am having the same problem. Has anything been done to rectify the problem?

Essentially, in a multi-page report, as the MasterDataset is incremented one record and a new page is called for, information from the new record is prematurely printed on the footer of the previous page. >

Comments

  • gpigpi
    edited 6:30PM
    This is feature of FR's engine. Store masterdata values in report variables in band's OnAfterPrintEvent and show this variables in PageFooter
  • edited 6:30PM
    gpi wrote: »
    This is feature of FR's engine. Store masterdata values in report variables in band's OnAfterPrintEvent and show this variables in PageFooter

    Do you have any example code?
  • gpigpi
    edited 6:30PM
    procedure MasterData1OnAfterPrint(Sender: TfrxComponent);
    begin
         Set('CustNo', <Customers."Cust No">);                  
    end;
    
  • edited 6:30PM
    Thanks - Read up on scripting over the weekend. I think it is starting to make sense to me.

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.