PrintIfEmpty?

dannidanni Denmark
edited 12:36AM in FastReport .NET
Hi

I have a databand and a header.

How do I ensure the header to a databnd is always printed if the databand of the header is empty?

Comments

  • edited 12:36AM
    Hello,

    When there is no data in databand, it won't be printed together with all related stuff (header/footer/child...).
    You have two options to print something in this case:
    1) set databand's PrintIfDataSourceEmpty property to true. This will print empty databand row even if there is no data.
    2) use the following method:
    http://fast-report.com/documentation/UserM...gnodatatext.htm
    In this case you will need to duplicate the header band's content in the child.

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.