Hi All,
I am printing 2 amount fields on a group footer. The group header/footer works fine for me since I can print the data for each transaction no and page break it.
Now, I am printing separate amount totals per transaction placed on the group footer:
Amt1 will not be displayed when it's Null or = 0
Amt2 the overall total will always be displayed.
Q1: How can I make Amt 1 appear/hide?
Q2: How can I make Amt2 shift up when Amt 1 is hidden? (case when amt1 is null or =0)
I've tried some options of Dock, Can shrink properties and it's not helpful..
Any suggestions please?
Thanks.
Shrink/Hide Empty Fields on a Group Foooter
Shrink/Hide Empty Fields on a Group Foooter
You put Amt in is sepate FooterBand and add this to the beforePrintEvent of the footerband;
Marco
Code: Select all
this.FooterBandAmt1.Enabled = Amt1 != 0 && Amt1 != null
Shrink/Hide Empty Fields on a Group Foooter
Yep. Thanks Marco, your suggestion worked 
I've added another group header/footer pair and used the BeforePrintEvent condition.

I've added another group header/footer pair and used the BeforePrintEvent condition.