on 05-17-2011 8:15 AM
i am new to crystal report. we are using crystall report xi, previously we have built a rpt and run under vb with OLE DB(ado) connection connect to sql server to generate report.
is it possible plug into java web application ? I have tried some sample codes from the cd set but most of them has predefined data, there is no database connection. like. CrystalReportsSample
my questions are:
is it possible to switch to jdbc and connect to sql server to generate the report.
the target has to pass some parameters , is it possible to do via jsp or servlet?
Please look at the sticky thread at the beginning of this forum called "Crystal Reports for Eclipse 2.0 Release Update 8 is Now Available!" to see where to find Crystal Reports for Exclipse to download.
Information on the BusinessObjects SDKs including the Crystal Reports for Eclipse Developer Guide abd Javadocs can be found at the following link:
http://www.sdn.sap.com/irj/boc/sdklibrary
Some Crystal Reports Java Reporting Component SDK Sample Applications can be found at the following link:
http://www.sdn.sap.com/irj/boc/samples?rid=/webcontent/uuid/909355da-5b84-2b10-76a4-eed3ccf9e650 [original link is broken]
A specific sample that shows you how to change the database location using the Java Reporting Component can be found at the following link:
http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/400ae826-3c11-2c10-15b5-dba41860f3a1
In order to determine all of the database properties that go into the property bag, the recommended way of doing this is to first set up the desired datasource in the Crystal Reports Designer. You can then determine the values of all of the database properties by running the following sample against the report. The sample that displays the connection info can be retrieved from the following link:
http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/d09a2df6-3d11-2c10-7fbc-9c2940cdc803
A sample that passes parameters can be found at the following link:
http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/c0e70fd6-3e11-2c10-aa8f-8ad0aeb459e5
The above information should be a good place to get you started.
Regards.
- Robert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.