Hi,
Sorry for late reply, I had to step aside this issue for a few days.
What you posted back on Stackoverflow solved my issue.
Many thanks for that.

stackoverflow