Hello Old Pedant
Many thanks again for your corrections. I could not possibly have known that about Access/Jet.
I have incorporated your code, thank you, and uploaded it to the server.
I am getting another error (nothing to do with your code), but I will try to sort it out over the weekend. If I can't, I will ask you again, if that's OK?
I feel as if I have taken up enough of your time already.
Many thanks for all your help and advice - I must owe you a year's supply of your favourite drink!
Enjoy your weekend.