Writing Code
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Writing Code
Message Icon Topic: Sub report Post Reply Post New Topic
Author Message
sramkumarmca
Newbie
Newbie


Joined: 01 May 2011
Online Status: Offline
Posts: 5
Quote sramkumarmca Replybullet Topic: Sub report
    Posted: 01 May 2011 at 11:52pm
Hi
i need code in c# to pass stored procedure parameter to sub-report
or
How i can merge main report parameter to sub report parameter, i.e if i pass the parameter value for the mail report, sub report should use the main report parameter value
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3701
Quote hilfy Replybullet Posted: 02 May 2011 at 9:14am
Create the parameter in your sub-report first.  Link from the main report to the subreport based on the parameter in the main report - Turn off the option to select data based on the link (bottom right of the linking screen) and select the parameter in the subreport in the bottom left of the linking screen.
 
-Dell
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.