Hi @haimat,
That was the missing info I needed, the following code along with your help seems to be working so far.
Many thanks, great support.
Cheers, Max