Thanks Les,

You're right and I know you are.
But that's what I don't know about my issue.
How does this UDF look like and where do I place this in my script?

Greetz,
Shintra.