hmm...
this is silly comment but anyway...

what is the $b and $c arguments in the udf?
I think I've stated this previously, but imo, they should be documented without forcing ppl to guess.
_________________________
!

download KiXnet