02-09-2015 04:49 PM
HI,
I'm using labVIEW 2011 to build a database management software,
I'm using SAP crystal reports 2008 version 12.3 to design my reports,
I'm trying to run these report from labVIEW GUI
I did these steps
1- inserted active x container
2- Selected active x object (Crystal ActiveX Report Viewer Control 12.0)
3- Created a property (Report Source)
4- Conncted the crystal report file
thank you in advance 🙂
02-09-2015 06:19 PM
You don't show where the error indicator is connected.
You don't really say what your problems is, but I guess you are getting the error shown in the picture and you don't like that. 😄
02-10-2015 08:31 AM
Hi sir,
thanks for your reply
the error indicator is connected after the view report method node
My problem is that the VI does not work as I expect
I expect that the crystal report file is opened and viewed in the active x container, but this doesn't happen 😞
02-10-2015 09:52 AM
02-10-2015 02:30 PM
The same error !!!
10-10-2016 12:29 PM
You have tried to make the whole sequence of connection?
report.Load (Server.MapPath ("SampleRpt.rpt"));
report.SetDatabaseLogon ("username", "pwd" @ "server", "database");
rptviewer.ReportSource = report;
I need also generate reports in Crystal from Labview and I will start using the Viewer.
if you link part of the code you are using, maybe I can help you solve the problem.
10-11-2016 04:27 AM
first you should open the application reference and then call OpenReport.
try if this works
bye
10-11-2016 04:34 AM
Thanks Marco_Ge,
Can you link this simple vi please?.
10-11-2016 04:46 AM
This should work with LV_2014, I used it with CRXI RDC installed.
Once you visualize the report, you can also act over ist parameters, select zoom, print out, modify and save by using proper methods.
Let me know if it is working..
10-11-2016 04:48 AM
Thank you very much Marco _GE.
I'll try it with the same environment as you indicate and I will show you the feedback.
Bye