Print Page | Close Window

link parameters

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Data Connectivity
Forum Discription: How to connect to data sources and export reports
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=5969
Printed Date: 04 May 2024 at 4:27pm


Topic: link parameters
Posted By: mi134
Subject: link parameters
Date Posted: 02 Apr 2009 at 1:49am
hi,

I have to use several stored procedures in a single report. The procedures require setting parameters which are always the same. That is page header and details section need to use different stored procedures which require the same parameter set. haow can i link the parameter?

thanks for help in advance



Replies:
Posted By: dazel
Date Posted: 02 Apr 2009 at 2:25am

Hi,

    In that case you can create seperate crystal reports for every stored procedure and add them as subreports in a newly created crystal report with groups and the number of groups will be same as the number of crystal report that you add as subreports, and place each crystal report in each group of new crystal report as a subreport.  
if you do note get it, let me know i shall explain with example.Smile


Posted By: mi134
Date Posted: 02 Apr 2009 at 11:26pm
first thank you,
that works fine in the vs2005 designer. but when I execute ExporttoStream() I get an error: missing parametrer. The subreport Parameter is linked to the main report parameter. Without the subreport there is no error at all. I set both connection and parameter via code.



Posted By: mi134
Date Posted: 03 Apr 2009 at 1:54am
CR vs2005 SP1 solves the problem
https://www.sdn.sap.com/irj/boc/downloads




Print Page | Close Window