Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can FoxPro use sql oledb connection string?
Message
 
 
À
16/11/2003 19:00:50
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00850508
Message ID:
00850514
Vues:
16
Hi Tim,

That's not the way you use ADO in VFP. The article ADO Jumpstart for Microsoft Visual FoxPro Developers by John V. Petersen should get you started http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfoxgen/html/adojump.asp.

>I have tried the following connections string withing foxpro, does anyone know why it is not working or maybe FoxPro does not support sql oledb?
>
>Here is my sample code:
>
>mdhandle= Sqlstringconnect("Provider=SQLOLEDB.1;Password=mypassword;Persist Security Info=True;User ID=myname;Initial Catalog=server1;Data Source=mydata")
>
>Why will the above code not work? The oledb should be much faster than the ODBC driver?
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform