LazReport: How to hide a band if ZeroValue? lazarus / 31-LCL ---------------------------------------------------------------------- Focus77 · 2020-07-02 20:23 Hi every one. I have a LazRepot with a band(SubDetailFooter1) and 2 memo on it. The memo1 is a label. The memo2 is integer If the memo2 is zero, how to hide the band? Thank a lot. ---------------------------------------------------------------------- WimS · 2020-07-21 17:35 I did the following: on the OnBeginBand of the report I wrote the following:   if (Band.Name = 'BandToelichting')       // 'Bandtoelichting is the name of the band you want to hide    then begin           if trim(SQLQueryReport.FieldByName('Toelichting').asString)='' / test for hiding or not              then begin                     //Band.Visible:=false // this didn't work                     Band.Height := 0;        // hide band                   end              else begin                     Band.Height:=22;        // show the band and because stretched = true all is printed                   end;           Exit;         end; First I stated with making the band visible or not, but that gave problems with child bands. I hope it helped you and if there is a better way, where can I find the documentation, it's a lot try and error now. best regards WimS