Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLEDB FROM VFP6
Message
From
09/03/1999 12:35:06
Bob Lucas
The WordWare Agency
Alberta, Canada
 
 
To
09/03/1999 04:16:30
Nico Grilli
Spark Consulting Srl
Corato (Ba), Italy
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00193053
Message ID:
00195620
Views:
23
>>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform