views:

92

answers:

3

Is there an api that can be used to create a crystal report programmatically? I have reports written in Powerbuilder that we need to convert to Crystal and I would like to automate the conversion.

A: 

Crystal does have a report creation API, but I believe you have to have a license to their report server product to use it> I tried to find a link to this info on their site, but it is pretty well hidden.

Ray
A lot of things Crystal have been pretty well hidden since SAP bought them. Their site integration with Business Objects' site sucks.
Michael Itzoe
A: 

Review the Crystal Reports SDK. There are COM, .Net, and Java 'flavors'.

For an example of converting an RPT file to XML, review this Google Code project: RptToXml

Craig
A: 

Take a look at http://crystalreports.co.uk/developer-zone/ and select the appropriate platform (Java or .NET) and this will take you to a list of links into the SAP website.

The list is maintained by the one of the partners so should be up to date.

DilbertDave