Solved

Crystal Report from Visual Studio 2012 Parameter Passing

Posted on 2013-05-21
3
1,500 Views
Last Modified: 2013-06-04
Hello experts,

I used Visual Studio 2012 Ultimate to frame up a crystal report that I built using Crystal Reports XI.  It frames up nicely and I have no issues, but now I need to launch this executable from a program that has a current person_id already looked up.  I need to feed that person_id to my report.

I believe the program I use has the following DLLs that harvest the person_id:

I searched by word patient have methods in these dlls:
NextGen.Shared.ReportServer.dll

Also found 1 lib contains info with patient id
NextGen.Shared.ReportLibrary.adll   method XMLPatientID(String&) : String

body method:
contains
   string str = "select Distinct " + sDemogrTempTable + ".person_id,first_name,last_name from ";


I need to be able to take the above dll string and pass that current person_id to the crystal report parameter that I have built {?person_id}.

Not sure where to start.  I have attached the code view of my report (cs code).  cs-code.txt.

Thoughts?
Thanks!
0
Comment
Question by:robthomas09
  • 2
3 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 39185458
DO you have a parameter for that field?

mlmcc
0
 

Author Comment

by:robthomas09
ID: 39185634
I built a parameter in Crystal, so it shows up in the Field Explorer - is that what you mean?  Thanks!
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 39220370
Yes.

mlmcc
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

808 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