>>
>>I wanted to send a SQL Select expression to SQL Server and get back a cursor. I know I could do it if I was using ODBC. But I am using ADODB not sure how to do it.
>
>If working from FoxPro, why do you think that ADODB is the best option? From FoxPro, besides SPT, you may create database, add connection, create a view or include stored procedure to get the result.
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).
"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