Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: transfer sql code into crystal reprot Post Reply Post New Topic
Author Message
Vithi5
Newbie
Newbie
Avatar

Joined: 04 Dec 2008
Location: Canada
Online Status: Offline
Posts: 4
Quote Vithi5 Replybullet Topic: transfer sql code into crystal reprot
     Posted: 18 Dec 2008 at 7:55am
Hi all,
 
I have sql code in Benthic.  Does anyone know how to import or transfer into crystal report so taht it works.
 
Let me know
 
 
Thank you.
Vithi
IP IP Logged
JohnT
Groupie
Groupie
Avatar

Joined: 20 Jan 2008
Online Status: Offline
Posts: 92
Quote JohnT Replybullet Posted: 18 Dec 2008 at 1:46pm

You can write your own SQL code using the command object.  Go to Database, Database Expert and right click on Command.  Enter your SQL query.  When you create your report, you can use the fields identified in your select statement.

 
Good luck !
 
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 19 Dec 2008 at 1:37pm
Crystal doesn't allow commands for all database/connection types.  The way to know if it does is to create your connection.  If "Add Command" appears just below the connection name, you can add SQL to a command.
 
-Dell
IP IP Logged
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