Clay,
I should have mentioned that since @ProductSuite returns a bitwise value, you can do a bitwise and '&' against it.

quote:
KiXtart support the following numeric operators:

+
Used to sum two numbers.
-
Used to find the difference between two numbers or to indicate the negative value of a numeric expression.
*
Used to multiply two numbers.
/
Used to divide two numbers and return an integer result.
&
The & operator performs a bit-wise mathematical AND operation on two numbers.
|
The | operator performs a bit-wise mathematical OR operation on two numbers.


_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.