Thank you very much for your explicit hints Wolfgang. I've learnt a lot from these few lines of code.
 
/Stefan