Report Bands
Posted: Tue Feb 24, 2009 1:56 am
Hi,
I have my report layout Grouped by InvoiceNo and NewPage is set for each InvoiceNo. I have two Datasources one with 'InvoiceDetails' and the other is 'InvGroup' which is 'Data from other Data source' grouped by InvoiceNo then Type to have the sum of Amount displayed in footer.
So the Layout should be like
-------------------------------------------------------
AddressLine1, Invoice No:1 (Group Header - grouped by InvoiceNo)
AddressLine2,
AddressLine3
Type Amount
------------------------------------------------------
A 100 (Databand1 - source InvoiceDetails)
B 150
A 25
-------------------------------------------------------
Sum of A 125 (Databand2 - source InvGroup)
Sum of B 150
--------------------------------------------------------
Invoice Total: 275 (Group Footer1)
--------------------------------------------------------
Invoice Date:1/1/2009 Amount in words: Two Seven Five (Group Footer2 - should be at bottom of the page)
To introduce the Sum of (Type), I created a 'Data from other Data source' and used that as the source for Databand(2).
The issues I am facing.
1. After including Databand 2, Group footer 1 & 2 are not appearing
2. When two invoices are selected for reporting, Databand 2 is appearing for the second Invoice only and not for the first.
Can someone guide me how to achieve this using the Bands available?
I have my report layout Grouped by InvoiceNo and NewPage is set for each InvoiceNo. I have two Datasources one with 'InvoiceDetails' and the other is 'InvGroup' which is 'Data from other Data source' grouped by InvoiceNo then Type to have the sum of Amount displayed in footer.
So the Layout should be like
-------------------------------------------------------
AddressLine1, Invoice No:1 (Group Header - grouped by InvoiceNo)
AddressLine2,
AddressLine3
Type Amount
------------------------------------------------------
A 100 (Databand1 - source InvoiceDetails)
B 150
A 25
-------------------------------------------------------
Sum of A 125 (Databand2 - source InvGroup)
Sum of B 150
--------------------------------------------------------
Invoice Total: 275 (Group Footer1)
--------------------------------------------------------
Invoice Date:1/1/2009 Amount in words: Two Seven Five (Group Footer2 - should be at bottom of the page)
To introduce the Sum of (Type), I created a 'Data from other Data source' and used that as the source for Databand(2).
The issues I am facing.
1. After including Databand 2, Group footer 1 & 2 are not appearing
2. When two invoices are selected for reporting, Databand 2 is appearing for the second Invoice only and not for the first.
Can someone guide me how to achieve this using the Bands available?