I implemented it as you suggested, it works fine.
Thanks for your help,
Carsten