02-07-2009 11:32 PM
Does anyone have an idea on how to open a crystal reports report from labview? I am working on an application where test measurement data is stored from labview in a SQL database and I need to open several crystal reports from the same labview app. I have labview 8.5 and crystal 8.5.
Thanks in advance
Solved! Go to Solution.
02-08-2009 09:33 PM
02-09-2009 03:02 AM
If CR has registered an activeX i s'pose you can do it like i did with Acrobat.
Place an activeX container on front panel, link it to CR's activeX.
Place Invoke Nodes and use what functions are needed.
I assume you'll need some Load file, view/render, Close.
I hope that helps.
/Y
02-09-2009 08:19 AM
Thanks a million that is exactly what I did... Add an ActiveX container in the front panel and add Crystal Reports Control to it, then play around with the property and invoke nodes.
Thanks
04-17-2009 03:08 PM
Question: How did you convert a path e.g. c:\test.rpt to a suitable variant for ReportSource?
Thanks.
04-17-2009 05:40 PM
You can use the variant to data function and convert it to any data type... However, I used the Crystal Reports Control ocx not the crystal reports viewer.... This one has a string input for the report path..
07-06-2016 08:29 AM
I am trying to do something similar with lab view and crystal report but I am not familiar with activex. is it possible to have an example of how you did your code to control the report generation, that would be highly appreciated, Thank!
07-07-2016 04:41 PM
Try this example that ships with LabVIEW to get you started with ActiveX. In LabVIEW go to help > Find Examples. Then in NI Example Finder browse to Communicating with External Applications > ActiveX > General > ActiveX Event Callback.vi