>Bret,
>
>Your line . . .
>
> IF ASCAN(array2,myfield)
>
>is the problem - ASCAN returns a numeric, where "0" indicates the item is *NOT* in the array and any other number indicates the position of the (found) item in the array. Return is an Elem#, by the way.
>
>regards,
>Jim N
>
You are absolutely right. I had to pay more attention to code answering the question.
Edward Pikman
Independent Consultant