Data Connectivity
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Data Connectivity
Message Icon Topic: connecting crystal reports to oracle database Post Reply Post New Topic
Author Message
rampa
Newbie
Newbie


Joined: 06 Oct 2009
Location: United States
Online Status: Offline
Posts: 1
Quote rampa Replybullet Topic: connecting crystal reports to oracle database
    Posted: 13 Oct 2009 at 7:08pm
Hi All,
 
please anyone of you kindly help me.
 
Actually i am new to the crystal reports.
 
could anyone kindly explain me step by step
 
HOW TO CONNECT CRYSTAL REPORTS TO ORACLE DATABASE.
 
thank you,
 
rampa
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 23 Oct 2009 at 6:48am
for the simplest of reports,
create a ODBC driver to the oracle database
open crystal, select a new report, select the same odbc connection that you just create, verify the credentials done.
 
If you can't create the ODBC connection, there are plenty of resources on the web that will tell you.  I don't use oracle here, but have used it years ago.  How to connect is always the same.
 
As an alternative, if you are calling CR from an application, have you application gather the information and then push it to CR using the setDataSource.
 
HTH
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 28 Oct 2009 at 10:18am
In Crystal do the following:
 
1.  Go to the Database menu and select Database Expert.
2.  Click on the '+' next to "Create New Connection".
3.  Wait for the list to come up and scroll down to click on "Oracle Server".
4.  Under "Service" enter the TNSNames alias for your database.
5.  Enter User ID and Password.
 
Two things to note:
 
1.  If "Oracle Server" is not on your list of possible connections, the driver wasn't installed when Crystal was installed.  You'll need to update your install to include the Oracle driver.
 
2.  The Oracle client software MUST be installed on the computer where Crystal is running.  The driver in Crystal is just a connector between Crystal and the Oracle client - it is NOT the Oracle client itself.
 
Also, the ODBC connection that lockwelle mentions is slower than the native Oracle connection and doesn't give you access into Oracle-specific SQL for things like SQL Expressions.
 
-Dell
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.