Print Header-Band if masterband is empty
Hello,
in some circumstances, I would like a headerband to be printed even if the associated masterband has no rows to print.
Any hint if it's possible to force this?
Thanks, Daniel
in some circumstances, I would like a headerband to be printed even if the associated masterband has no rows to print.
Any hint if it's possible to force this?
Thanks, Daniel
Comments
Well... i needed to do something like that.
My case was:
I needed to print Header1 and Footer1, even MasterData1 had no row to print.
My Solution was the follow:
- set the DataSet property from MasterData1 to MasterTable
- set the DataSet property from DetailData1 to DetailTable.
- link the GroupHeader1 with the MasterTable through its PK
- link the GroupHeader2 with the DetailTable through its FK from the MasterTable
- set the Height property from MasterData1 to 0 (zero)
- set the MasterData1's property PrintIfDetailIsEmpty to True
That??s it.
This way I printed GroupHeader1 and GroupFooter1 even when DetailData1 has no row to be printed.
I hope that??s helpfull for you.
Hugs
Joao Henrique