problem with printing header
Posted: Wed Aug 19, 2009 6:59 am
Report looks like this:
HeaderBand1
GroupHeaderband1,Condition:{BROMR.RADID}
DataBand1, Data Source:BROMR
GroupFooterBand1
GroupHeaderband2,Condition:{BROML.RADID}
DataBand2, Data Source:BROML
GroupFooterBand2
FooterBand1
RADID i get from lookup box,data in tables from sql, and everything is working fine.Data bands are independent from each other.
Problem is:
text in HeaderBand1 is missing if i have data in DataBand2 and not in DataBand1.All data is printed fine it is just that header is not.
In other cases like: i have data in both bands or i have data in DataBand1 and don't have them in DataBand2 header is printed just fine.
I can't use Print if empty property because sometimes (in other reports) i don't have data in borh bands and i don't want text from header to be printed.
Regards
HeaderBand1
GroupHeaderband1,Condition:{BROMR.RADID}
DataBand1, Data Source:BROMR
GroupFooterBand1
GroupHeaderband2,Condition:{BROML.RADID}
DataBand2, Data Source:BROML
GroupFooterBand2
FooterBand1
RADID i get from lookup box,data in tables from sql, and everything is working fine.Data bands are independent from each other.
Problem is:
text in HeaderBand1 is missing if i have data in DataBand2 and not in DataBand1.All data is printed fine it is just that header is not.
In other cases like: i have data in both bands or i have data in DataBand1 and don't have them in DataBand2 header is printed just fine.
I can't use Print if empty property because sometimes (in other reports) i don't have data in borh bands and i don't want text from header to be printed.
Regards