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 3:04AM
    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 3:04AM
    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