Click to See Complete Forum and Search --> : Invoking Crystal Reports from a command-line Java program


gsyme
May 10th, 2006, 07:20 AM
I would like to invoke Crystal Reports from a command line application, preferably a Java app.

The rough desired sequence of events is as follows:
1) Data gets processed and inserted into the DB
2) Further processing of the data takes place
3) At this point I would like to invoke Crystal in 'batch mode'
4) The generated reports then get whisked off elsewhere

Scheduling the reports to be generated at a fixed time isn't much use since the data processing can take varying lengths of time to process. Ideally I could launch the report on demand. User interaction is also a no.

I have searched high and low on the web. I have trawled the Crystal Reports Java Reporting Component API and have had no success.

It would seem that if I were developing a web application or desktop thick-client that there are canned solutions available in the JRC API. However there are no web applications involved, nor is there a GUI.

Is it possible to do this using the Java API? If not is there an API for another language that will allow me to do this?

Madhi
May 27th, 2006, 09:55 AM
See if you find answer here
http://support.businessobjects.com/