Set band invisible when subreport is empty

edited 7:17PM 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:17PM
    Try to use two-pass report or check subreport's MasterData.DataSet.RecordCount

Leave a Comment