In the other message, I mentioned that this generates an error. This is because my oCommand as been defined as IDbCommand. As my method is making use of ExecScript, this means this is VFP proprietary only. So, I will simply use that method when I am using the VFP OleDb provider. Thanks for the help