Unfortunately Jens the GLOBAL variable or array used inside a UDF is required until we can pass by reference.
_________________________
Home page: http://www.kixhelp.com/hb/