Thanks Sergei!!!
Your information was very valuable, and I don't know why I couldn't find that article in MSDN....
But... in the sample, the procedure returns just a variable, through RETURN command. Here is the sample:
PROCEDURE GetValue( par1, par2 )
...
RETURN value
ENDPROC
It is possible to RETURN a cursor?? (I mean any simple query like "SELECT * FROM table"), like that:
PROCEDURE GetValue(par1, par2)
SELECT * FROM Customers
ENDPROC
This code produce the error. Any idea???
Thanks!!!
Dr. Programejos
>Take a look at mskb#
Q299820 'HOWTO: Execute a Stored Procedure in a VFP >Database with the VFP OLEDB Provider'.
Carlos A. Granitto