Problems with Band Structure

edited May 2011 in FastReport 4.0
I have following Band Structure

Header1
--MasterData1
Footer1
--DetailData1
--DetailData2
--Header3
----DetailData3
--Footer3
--DetailData4
----SubDetail5
----SubDetail6

DetailData1, DetailData2, DetailData3 & DetailData4, all of them depend on MasterData1 Records. SubDetail5 & SubDetail6 depend on data from DetailData4.

I cannot explain why, and in which concrete cases, but DetailData4 is not always printer, even if there is for sure a single record in it.

If I place DetailData4 for example before DetailData1 Band, then DetailData4 is correctly printed.

Any reason for this behaviour ?

Thanks

Comments

  • edited 5:46AM
    Sorry !! ... my fault.

    Didn't notice that DetailData4 had property PrintIfDetailEmpty turned OFF. That's why when placed before other bands, it was printed, as it was not longer conected to the SubDetail Bands.
  • edited 5:46AM
    Nadia wrote: »
    Sorry !! ... my fault.

    Didn't notice that DetailData4 had property PrintIfDetailEmpty turned OFF. That's why when placed before other bands, it was printed, as it was not longer conected to the SubDetail Bands.
    It is off by default and has caught me out more than once as well. Personally I think the default setting should be TRUE.

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.