G'day Jerry,

Thank you very much for solving that problem for me. The first solution posted is working well.

Cheers