>>The reason I went from ODBC to ADODB is that I could use CursorAdapter use Varchar(max) type in SQL Server. I don't know if ADODB is the best option but it is recommended when working with CursorAdapter. If I create a stored procedure I still have to call it to get the cursor (on the FoxPro side).
>
>Sorry, I am not aware of Varchar(max) problem. Whether setting FetchMemo in SPT does not help?
>
>CURSORSETPROP("FetchMemo",.t.,0) && set it in advance
>?sqlexec(,,,,)
I think we are back to square one. I have done tons of work using CursorAdapter approach of working with remote (SQL Server) data. So switching now to ODBC is not really practical. I will have to find the way to continue with using CursorAdaptor and ADO and still be able to get data (maintaining type of varchar(max) to memo) with simple "select * from table" (simplified). Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham