How do I prevent the column header band from appearing on the last page if the last page doesn't have any detail?
<p>I have a report set up like so:</p>

<p><b>Title band</b>: A jFree chart (in a subreport)<br>
<b>Col. Header Band</b>: Headers for the detail band/table<br>
<b>Detail band</b>: The details/table<br>
<b>Summary band</b>: Some summary data (variable calculating results of the detail band)<br>
<b>Last Page Footer  Band</b>: Disclosures/legal text<br></p>

<p>The problem I am trying to fix ist when the detail band happens to end at the bottom of a page.</p>

<p>The summary band and Last Page Footer band appear on a new page with the column header, which does not make sense because the column header only describes the detail band.</p>

<p>How do I prevent the column header from appearing if there is no detail on the page?</p>

<p>My company is using Jasper Reports Server 2.0.5 and will not be upgrading, unfortunately.</p>

<p>Thanks very much!</p>