frxDBDataSet Last Record

edited 6:21PM in FastReport 3.0
How could i test if is the last record of a table in frxDBDataSet.

I need to hide some information after print the last record.

It's possible?

MB

Comments

  • edited 6:21PM
    For example, after printing MasterData1 records we need to show some text.
    procedure MasterData1OnAfterPrint(Sender: TfrxComponent);
    begin
      if ( MasterData1.Dataset.RecNo = (MasterData1.Dataset.RecordCount -1) ) then
        SomeTextLabel.Visible := true;
    end;
    

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.