Thank you all very much for the help.
Daleyman was absolutely spot on so thanks very much.
TsTom, like Daleyman I think I understand your points but as yet lack the know how to take them further! However, as Daleyman's code works beautifully, I'm a very happy chappy!
nisht, thanks for the input, but that way doesn't put in the quotes around every field.
It is of course fine, if the quotes are not essential. I just have a rather backward package where they are essential!

Cheers!
AJ