Headers not showing

Hi

My reports has 4 master data bands in my report because I have 4 separate queries. Each master data bands has a header explaining what items are in that section.

My issue is that if any of the queries result in 0 records, the header doesn't print/show. However, I want the header to print so that we can see that there are no items in that section.

Any ideas how to get the headers to show?

Thank you!

Comments

  • gpigpi
    edited 3:42AM
    Hello,

    You may use Engine.ShowBand and show any band when you need
    For example:
    procedure PageHeader1OnAfterPrint(Sender: TfrxComponent);
    begin
         if MasterData1.Dataset.RecordCount = 0 then Engine.ShowBand(Header1);
    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.