Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can AdoDb Conn Obj be used for SPT command?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01478938
Message ID:
01478972
Views:
36
>>>
>>>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).

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(,,,,)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform