Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access OLEDB
Message
De
26/05/2004 07:33:05
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00907238
Message ID:
00907262
Vues:
11
You can't. SPT uses ODBC.

>Hello all, is it possible to access an "MS Access" mdb via OLEDB using SPT ?, I've managed it with ADO but would prefer to use SPT if possible, I tried it with the code below but this resulted in a dialog prompting me for a DSN
>
>
>cConnStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\myserver\sys\apps\data\mydata.mdb"
>
>nHan = SqlStringConnect(cConnStr)
>*/ Brings up a dialogue prompting for a DSN.
>
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform