Quantcast
Channel: SCN : Popular Discussions - SAP Crystal Reports, version for Eclipse
Viewing all articles
Browse latest Browse all 893

How to create a report with data using the Crystal Reports for Java SDK

$
0
0

Hi,

 

How do I create a report with data that can be displayed via the Crystal Report for Java SDK and the Viewers API?

 

I am writing my own report designer, and would like to use the Crystal Runtime Engine to display my report in DHTML, PDF, and Excel formats.  I can create my own report through the following code snippet:

 

ReportClientDocument boReportClientDocument = new ReportClientDocument();

boReportClientDocument.newDocument();

 

However, I cannot find a way to add data elements to the report without specifying an RPT file.  Is this possible?  I seems like it is since the Eclipse Plug In allows you to specify your database parameters when creating an RPT file.

 

is there a way to do this through these packages?

com.crystaldecisions.sdk.occa.report.data

com.crystaldecisions.sdk.occa.report.definition

 

Am I forced to create a RPT file for the different table and column structures I have? 

 

Thank you in advance for any insights.

 

Ted Jenney


Viewing all articles
Browse latest Browse all 893

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>