Announcements
 Crystal Reports Forum : General Information : Announcements
Message Icon Topic: Is it Possible to Create Report from Sql Query Post Reply Post New Topic
Author Message
vijay sandoria
Newbie
Newbie
Avatar

Joined: 29 Sep 2007
Location: Pakistan
Online Status: Offline
Posts: 4
Quote vijay sandoria Replybullet Topic: Is it Possible to Create Report from Sql Query
    Posted: 08 Dec 2007 at 11:17am
Is it Possible to Create Report from Sql Query?
 
just like
 
Select * from Table1;
 
 
or from an type of SQL query?
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 08 Dec 2007 at 1:30pm
Yes, you can add a command object to your report and put any SQL you like in it. Then the report uses the resulting data to print your report. This is found on the Data tab of the Database Expert. Click on the Add Command node under your current connection.

If you want to find expert tricks for optimizing your report for SQL and writing custom SQL statements, check out chapter 10 and 11 in my book Crystal Reports Encyclopedia. You'll be surprised at all the great stuff I packed into two chapters.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
IP IP Logged
vijay sandoria
Newbie
Newbie
Avatar

Joined: 29 Sep 2007
Location: Pakistan
Online Status: Offline
Posts: 4
Quote vijay sandoria Replybullet Posted: 12 Dec 2007 at 11:28am

i m using .net version i have never found this data tab can u plz explain in steps i will b very thank full to u

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.031 seconds.