Solved

Crystal Report from Visual Studio 2012 Parameter Passing

Posted on 2013-05-21
3
1,478 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

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

Suggested Solutions

Title # Comments Views Activity
DateTimepicker 4 33
About delegates in c sharp 3 35
Angular - break the dataset in chunks? 7 39
System.Speech 2 13
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…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

911 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

21 Experts available now in Live!

Get 1:1 Help Now