Solved

Parameter transfer to cristal report

Posted on 2016-10-14
3
52 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 69

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

743 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now