Normal Topic Subreport breaks on text (Read 474 times)
CapitalG
Full Member
Members
***
Offline



Posts: 143
Location: Phoenix, Arizona
Joined: Mar 4th, 2003
Subreport breaks on text
Jun 6th, 2007 at 4:29pm
Print Post Print Post  
I have come close but am stuck on getting this to work.  Using the CharityDonors sample DB to ask the question.  Looking at the DETAILS BY DONOR report and using the record for Cliff and Jeanne Francis which has 6 child records.  3 of the records are of TYPE Cheque, two are of TYPE CAF Voucher, and one is of TYPE Standing Order.  I would like to change the report so that it breaks on the TYPE so that the 3 Cheques are together with the sum, the two CAF Vouchers are together with the sum, and the 1 Standing Order has the sum then a total for the Donor.  

I have tried modifying the subreport and the main report - the closest I come is to break after each item.  I tried to attach a sort to the sub report but that generates an error that I can not sort on the subreport.

Any direction would be helpful.

Thanks. Smiley
  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Subreport breaks on text
Reply #1 - Jun 6th, 2007 at 4:44pm
Print Post Print Post  
Hello,

You will only need to change the subreport. You will need to add a sort spec to the subreport(I can add a sort spec to the subreport and it works fine) then add another group header and set it to break on DTYPE. Then in that new Footer add a summary element to do the subtotals.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
CapitalG
Full Member
Members
***
Offline



Posts: 143
Location: Phoenix, Arizona
Joined: Mar 4th, 2003
Re: Subreport breaks on text
Reply #2 - Jun 6th, 2007 at 5:39pm
Print Post Print Post  
I had to start with a clean copy, but it worked like a charm.....of course.   Grin

Thank you Ray!
  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Subreport breaks on text
Reply #3 - Jun 6th, 2007 at 5:48pm
Print Post Print Post  
No problem.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged