Data Connectivity
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Data Connectivity
Message Icon Topic: Enter SQL statement directly without Post Reply Post New Topic
Author Message
vthomeschoolmom
Newbie
Newbie


Joined: 21 Jun 2012
Location: United States
Online Status: Offline
Posts: 2
Quote vthomeschoolmom Replybullet Topic: Enter SQL statement directly without
    Posted: 21 Jun 2012 at 6:18am
I have a SQL statement that I can see in MS Query returns the records that I need. I have a Crystal Report that someone else created that has the format I need. I do not want to use the database expert. I want to enter my SQL Statement directly into Crystal Reports (v10 by the way). I don't want to pick through the brooken inner and outer joins in the crystal reports database expert. I want to paste the known working query in. There has GOTTA be a way to do that.
 
Thanks
 
S
 
 
P.S. It has been a really long time since I have used this, so please be patient! :)


Edited by vthomeschoolmom - 21 Jun 2012 at 6:22am
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 21 Jun 2012 at 6:38am
I do not have v10 installed anymore, but you should be able to put the query into a command if you are using an ODBC connection (Database, Database Expert, Create New Connection?,ODBC Name, New Command ).  If you are using an OLE DB connection, you should be able to create a New Command.  I am not sure about other data sources.
IP IP Logged
vthomeschoolmom
Newbie
Newbie


Joined: 21 Jun 2012
Location: United States
Online Status: Offline
Posts: 2
Quote vthomeschoolmom Replybullet Posted: 21 Jun 2012 at 7:43am
Thanks. That was enough information to get me what I need.
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.