Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can AdoDb Conn Obj be used for SPT command?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01478938
Message ID:
01478972
Vues:
37
>>>
>>>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(,,,,)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform