IvanVC
Taking this concat function just as an example. I dont have problems with ADO Cursor adapters with Oracle because this is a native function; for SQL Server I created this function and I use as dbo.concat and works fine, but with FOXPRO it does not work, even if I have this function in a program and defined with SET PROCEDURE TO MY_RUTINE. Again using native cursoradapters FOXPRO can detect this function but with ADO Foxpro apparently this is not possible because the VFPOLEDB provider doesnt recognize this function, I got a message: Microsoft OLEDB Provider for Visual FoxPro: File 'concat.prg' does not exist.
Off course is possible to avoid the functions and after that execute another select including the function because now is FOXPRO native.
I'm trying to do this to put in a more standard way to build my queries, avoiding to have different codes for different providers, until now I can do it for all the providers that I'm supporting except for Foxpro and is sad.
Thanks
Ivan