Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: Crystal Syntax Help Post Reply Post New Topic
Author Message
CrystalNovice
Newbie
Newbie


Joined: 22 Jul 2008
Location: United States
Online Status: Offline
Posts: 1
Quote CrystalNovice Replybullet Topic: Crystal Syntax Help
    Posted: 22 Jul 2008 at 11:53am
Help... I am trying to updated on of our reports to add some additional logic to exclude certain groups of individuals. I do not have any Crystal codeing experience but I do have SQL experience.
 
Below is a portion of the code I am trying modify. The problem I am having is with the Not In statement.. I keep getting prompted that I am missing a parenthesis but I don't know where it needs to go. I have tried adding it to several places in this statement.
 
Rather than spending too much time on this I was hoping someone could provide some guidance.
 
thank you.
 

({Students.Field2} in ["PHOEECOC", "DUBLECOC", "AUROECOC", "AUROBAOP", "PHOEBAOP", "DUBLBAOP", "AUROBAOS", "PHOEBAOS", "DUBLBAOS"] 

and

{Students.Supervisor} not in ["Flint, David A.",”Jones, Bruce”,”Smith Scott C”]

or

({Students.Field2} in ["PHOEECOS", "DUBLECOS"] and

{Students.Supervisor} in ["Gomez, John", "Torres, Lilly", "Ward, Roger D."]))

 

IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 22 Jul 2008 at 3:27pm

Try changing it to:

not {Students.Supervisor} in ["Flint, David A.",”Jones, Bruce”,”Smith Scott C”]
 
-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.027 seconds.