1
votes

I've created a bunch of RPT files and we've been using Business Objects to run them against our sql db using a different param's for each rpt file to generate a pdf.

Is there an api I can use to run these reports?

I've downloaded and installed crystal reports for visual studio, but (1) I'm not sure which dll's I need to add to accomplish this and (2) I can't find any documentation or sample code -- can anyone point me in the right direction?

1

1 Answers

0
votes

I'm not quite sure what you are trying to accomplish, your question is not very clear. If you are looking for a program to view the reports in, SAP has a free version of the Crystal Reports Viewer available here. If you want to create applications to run your reports in, you will need something like Visual Studio, which lets you create Windows Forms or Web Applications to embed your Crystal Reports in.

EDIT: To add Crystal Reports to Visual Studio you will first need to download the runtime from SAP. Most commom runtimes can be found here. Then you will have to add the CR to your toolbox in VS by choosing Tools -> choose Toolbox items. Make sure the .NET Frameworks Components tab is selected and scroll to the CrystalReport items. Check the items you want to add (CrystalReportViewer for sure) and click OK. After that the CR Viewer should be available to you in the Reporting section of your toolbox.