Data Connectivity
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Data Connectivity
Message Icon Topic: Sql Expression Field Post Reply Post New Topic
Author Message
Vishyonline
Newbie
Newbie
Avatar

Joined: 21 Sep 2007
Online Status: Offline
Posts: 3
Quote Vishyonline Replybullet Topic: Sql Expression Field
    Posted: 22 Sep 2007 at 6:00am
Hi all,

I tried to create a new sql expression which i need to use in my report. But when i try the following query it gives me error

The query is
(Select  "Employee.EmployeeID" from "[Adventureworks]"."[HumanResources]"."[Employee]")
When i try to save and close it throws an error saying
Invalid Object Name
'[Adventureworks].[HumanResources].[Employee]' Database Vendor Code: 208.

I have tried hard but could not figure it out. Some body please through some light on it and explain me with some sample sql query.

Thanks in Advance,

Vishy

IP IP Logged
jkwrpc
Senior Member
Senior Member


Joined: 19 Jun 2007
Location: United States
Online Status: Offline
Posts: 432
Quote jkwrpc Replybullet Posted: 22 Sep 2007 at 3:58pm
It appears to not be finding your table If you know you are connecting to the AdventureWorks database
try this statement
 
"Select EmployeeID from Employee"
 
Hope it helps.
 
Regards,
 
John W.
 
 
 
 
 
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.000 seconds.