Take a look at mskb#
Q299820 'HOWTO: Execute a Stored Procedure in a VFP Database with the VFP OLEDB Provider'.
>Hi folks,
>
>It is possible to execute stored procedures (stored in DBC files) through VFP OLE DB provider???
>
>I want to access data stored in a DBC file, from another non-VFP application, and my goal is to execute the procedures, but I just get this error message "OLE IDispatch exception code 0 from Microsoft OLE DB Provider for Visual FoxPro: One or more errors occurred during processing of command..."
>
>But executing a simple query like "select * from customers", then it runs OK.
>
>Any idea??
>
>TIA,
>Dr. Programejos
--sb--