Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting "The ) is missing" error in formula

Status
Not open for further replies.

gshadz37

Technical User
Mar 21, 2005
102
0
0
US
I am using Crystal reports 8 and am getting a "The ) is missing" error in this formula -

IF ({ApplicationDetail_BE.CALLDETAIL.DEST_GROUP} NOT IN([150,151,155])) AND
{ApplicationDetail_BE.CALLDETAIL.DISPOSITION} = 5
THEN 1 ELSE 0


Does anyone see what my mistake might be?

Thanks!
 
IF ({ApplicationDetail_BE.CALLDETAIL.DEST_GROUP} NOT IN([150,151,155]) AND
{ApplicationDetail_BE.CALLDETAIL.DISPOSITION} = 5
THEN 1 ELSE 0)
 
You've got the NOT in the wrong spot:

IF not({ApplicationDetail_BE.CALLDETAIL.DEST_GROUP} IN [150,151,155]) AND
{ApplicationDetail_BE.CALLDETAIL.DISPOSITION} = 5
THEN 1 ELSE 0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top