>Embedding parameters into a sql string is not a good approach. Parameters need to be send as parameters, not part of a string.
Point taken. I went back to my original structure with the Command object. Many thanks of your help.
If things have the tendency to go your way, do not worry. It won't last. Jules Renard.