Solved

Crystal Report from Visual Studio 2012 Parameter Passing

Posted on 2013-05-21
3
1,467 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

708 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

17 Experts available now in Live!

Get 1:1 Help Now