Les,
I have not written many udf's and am really just starting to get the more advanced concepts available in Kix.
I see if you Globally Dim in a UDF you could wipe out values other have used in the scripts.
Jens, I will RTFM again and referance the FAQ's (I did RTFM before posting, but did not know the DIM was my problem, so I was not reading the right information)
Thank You for the direction. I will follow-up once I think I have the code corrected.