Change dataset of Crystal Reports
Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2022
Forum Name: Data Connectivity
Forum Discription: How to connect to data sources and export reports
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=20722
Printed Date: 19 Apr 2025 at 12:57pm
Topic: Change dataset of Crystal Reports
Posted By: cocudo
Subject: Change dataset of Crystal Reports
Date Posted: 08 May 2014 at 6:53am
Hello My problem is this. I have Crystal Reports with Java in Eclipse, and I was unable to connect to a database using a JDBC connector IBM but graphically. But now I want to connect to the report by code, to pass data database, and can not find how to do it. Since Crystal Reports for Java does not allow me to use a ResultSet as a data source to generate the report dynamically. Thanks
|
Replies:
Posted By: hilfy
Date Posted: 19 May 2014 at 11:31am
What version of Crystal are you using?
For Java, I think you would have to connect to the database instead of an in-memory data set. The databases that Crystal is certified to connect to via JDBC vary based on the version of Crystal that you're using.
-Dell
------------- Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics
|
|