?
Solved

Crystal Report from Visual Studio 2012 Parameter Passing

Posted on 2013-05-21
3
Medium Priority
?
1,606 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 101

Accepted Solution

by:
mlmcc earned 1000 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 101

Expert Comment

by:mlmcc
ID: 39220370
Yes.

mlmcc
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
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…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month17 days, 12 hours left to enroll

829 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