Use the ArrayEnumValue() UDF to populate the values into an array. Then check the presence of a specific value in the array with the IsInArray() UDF. The next available number will be UBOUND($Array).

[ 30. August 2002, 19:28: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.