Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLEDB FROM VFP6
Message
De
09/03/1999 12:35:06
Bob Lucas
The WordWare Agency
Alberta, Canada
 
 
À
09/03/1999 04:16:30
Nico Grilli
Spark Consulting Srl
Corato (Ba), Italie
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00193053
Message ID:
00195620
Vues:
27
>>>Hello,
>>>i would known how i can use oledb
>>>from vfp6. How i can create a connection
>>>with CREATE CONNECTION
>>>by oledb
>>>
>>>
>>>thanks
>>
>>Use ADO. OLEDB is a very low level access and really is for C applications. ADO is the mechanism for the rest of us.
>
>Yes, but how i can use ADO by remote view of VFP6,
>when i do a remote viewing i can use only an ODBC connection.
>
>thanks

I don't think you can use OLE DB with VFP6 (at least not without the ODBC wraper). You must use ODBC whether you specify the data source or the connect string in the connection setup. Even using a connect string requires a DSN entry. You might want to try a connect string that identifies the provider (sqloledb) and not a DSN. This might possibly work. I haven't tried it yet.

SQL Server 7.0 comes with a OLE DB provider that bypasses ODBC (it has both actually) but you would probably want to use ADO with this.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform