Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Passing a value to a subreport Post Reply Post New Topic
Author Message
carleen
Newbie
Newbie


Joined: 02 Jul 2008
Online Status: Offline
Posts: 29
Quote carleen Replybullet Topic: Passing a value to a subreport
    Posted: 16 Dec 2008 at 9:08pm
I have a report with quite a few sub reports.  The user enters a value when running the main report (this is passed like a paramter but via the software running the report) rather than one set up in crystal.  This paramater is the style code.  I need this style code to pass through in the report selection of the sub reports.  How can I do this? Thanks
IP IP Logged
rahulwalawalkar
Senior Member
Senior Member
Avatar

Joined: 08 Jun 2007
Location: United Kingdom
Online Status: Offline
Posts: 731
Quote rahulwalawalkar Replybullet Posted: 17 Dec 2008 at 3:56am
Hi
 
Right Click Subreport the select change subreport links in that you can move the fields  from Available Fields to Field(s) to link to once you have done crystal will create a subreport parameter {?PM-FieldName}.....
 
Then go to record selection of your subreport and check  {table.fieldname} = {?PM-FieldName}.....
 
Cheers
Rahul
IP IP Logged
carleen
Newbie
Newbie


Joined: 02 Jul 2008
Online Status: Offline
Posts: 29
Quote carleen Replybullet Posted: 17 Dec 2008 at 5:35pm
Thats awesome, thanks so much for that! 
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.031 seconds.