Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

parameter in crystal report

Posted on 2014-04-20
4
Medium Priority
?
347 Views
Last Modified: 2014-11-27
i have crystal report that include parameter of start date and end date

how i use it in c# vs 2008
0
Comment
Question by:ajaymaster1558
4 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 2000 total points
ID: 40012268
check the "Passing a value to a parameter of the report" section from my article at http://emoreau.com/Entries/Articles/2006/09/Feeding-Crystal-Reports-from-your-application.aspx
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 40012451
The article is an excellent source for how to call reports from an application.

In your case the relevant line of code is

myrptDoc.SetParameterValue("YourParameterName",YourValue)

myrptDoc is the variable you have declared for the report document.

This comment is added to make the question more relevant to EE.

Points should go to the comment above.

mlmcc
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

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…
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

926 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