Thanks Peter!
I shall look into these codes.

Doug