Thanks for the fast reply.
I have one more question Is the complete code ok? Or are there things wrong.
Thanks
Leon