Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Another parameter - sub report question Post Reply Post New Topic
Author Message
frank_in_oz
Newbie
Newbie


Joined: 07 Aug 2007
Online Status: Offline
Posts: 1
Quote frank_in_oz Replybullet Topic: Another parameter - sub report question
    Posted: 07 Aug 2007 at 8:03pm
Crystal XI
SQL database

Have a main report with grouping on a formula , say
Fibre
DSL
Internet
etc
there are 3 groups below this level but probably irrelevent for this question

I want to have a sub report (at each group level) that selects the ID's from the data in the main report (at group level) and passes the ID's from the main report and then selects those records in the subreport based on the contract ID.

The same principal would then be applied to each subsequent group e.g. Internet has 2 groups , I need just the contract ID's being passed to the subreport to give me detail on those contracts

What I am getting is the subreport only returning the FIRST value (contract ID)NOT passing all the values to the subreport.  I have tried manipulating the record selection in the sub report to be "in" rather than "=" etc.  I am still not having success.

Any ideas would be most appreciated.
IP IP Logged
jkwrpc
Senior Member
Senior Member


Joined: 19 Jun 2007
Location: United States
Online Status: Offline
Posts: 432
Quote jkwrpc Replybullet Posted: 09 Aug 2007 at 8:52am

I use subreports, but if I understood you correctly you might be able to to accomplish the same thing with 2 groups. Here is my thought

-------------------------------------------


Group 1 Header Fibre
Group 2 Header Id
Details
Group 2 Footer - suppress or not as needed
Group 1 Footer - suppress or not as needed
 
---------------------------------------------
 
I find that adding subreports can have an impact on performance as wl as introduce other complications so if I can design the layout without them I do.
 
Regards,
 
John W.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.032 seconds.