Blank Report

edited 10:29AM in FastReport 3.0
When the MasterData dataset has no records the masterdata Header and Footer do not print. Anybody know how to display/print the masterdata header and footer when the dataset is empty (zero records)

Thanks

Comments

  • edited January 2006
    in script (Page1OnBeforePrint):
    if MasterData1.dataset.RecordCount = 0 then
    begin
    MasterData1.Dataset := nil;
    MasterData1.RowCount := 1;
    end;
    
  • edited 10:29AM
    Thanks Den

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.