Set band invisible when subreport is empty

edited 7:53AM in FastReport 4.0
Hi all,


I'm looking for a way to set a groupheader invisible when the subreport which is located on it, appears to be empty.

The content of the subreport is depending on the groupheader so the subreport isn't always empty.
Therefor the detection whter or not the groupheader should be set invisible has to be done at runtime.

Anyone have suggestion for me??

Thanx in advance.


Kind regards,
Jeroen van Broekhoven

Comments

  • gpigpi
    edited 7:53AM
    Try to use two-pass report or check subreport's MasterData.DataSet.RecordCount

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.