Solved

Parameter transfer to cristal report

Posted on 2016-10-14
3
81 Views
Last Modified: 2016-10-23
Hello

I use Cristal Report in my C# Application. Therefore I use the ReportDocument class.

How can I add a parameter to this ReportDocument class, which I can use in the cristal report (*.rpt file).
What do I have to do in the cristal report file (*.rpt file) to work with this parameter? Do I have to define a shared variable? Or can I work with parameter fields?
I want to use this parameter to open a subreport.

Regards
Eric
0
Comment
Question by:ICSAutomation
3 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 41843477
check "Passing a value to a parameter of the report" from http://emoreau.com/Entries/Articles/2006/09/Feeding-Crystal-Reports-from-your-application.aspx

I am currently revisiting this article that should be published over the weekend and that will include a C# version of the demo?
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 41843531
That should work but you may have to link the subreport on it

mlmcc
0
 

Author Closing Comment

by:ICSAutomation
ID: 41856576
Thanks a  lot !!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question