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

Need a function like "Not In Array"

Status
Not open for further replies.
Apr 26, 2005
29
US
Hello,

I'm trying to find out if there is a function which can be used to select data that is not in a certain array. I currently have the following statement which is working correctly.

if {CustomerKey} in [7298, 7300, 7318, 758,759,760,761] then {QtyShipped}

What I now need is the opposite of this so it includes all Qty Shipped except for those in the range.

So basically I'm looking for the equivalent of the below statement.

if {CustomerKey} not in [7298, 7300, 7318, 758,759,760,761] then {QtyShipped}

Any help would be appreciated.

Thanks,

 
SO close...:

if not({CustomerKey} in [7298, 7300, 7318, 758,759,760,761]) then {QtyShipped}

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top