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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

formula syntax

Status
Not open for further replies.

SamLN

Technical User
Joined
Apr 17, 2013
Messages
25
Location
AU
Hi smart people!

I cant quite get the syntax of the following formula correct. I want to say
if {PERSON.PERSON_POSITION} = 'Law Clerk' and {PERSON.EMPLOYEE_NO} is not either '252' OR '296' OR '336' then "LC" else "XX"

seems really simple but just cant get it to work.
I tried - if {PERSON.PERSON_POSITION} = 'Law Clerk' and {PERSON.EMPLOYEE_NO} <> in ['252','296','336'] then "LC" else "XX"

Sam
 
Try:

Code:
If 	{PERSON.PERSON_POSITION} = 'Law Clerk' and 
	Not({PERSON.EMPLOYEE_NO} in ['252','296','336'])
Then 	'LC' 
Else 	'XX'

Cheers
Pete
 
Thank You that worked[dazed]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top