Solved

Parameter transfer to cristal report

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 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

26 Experts available now in Live!

Get 1:1 Help Now