Solved

Parameter transfer to cristal report

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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

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…
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

777 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