Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you set up a DSN-less connection?
Message
 
 
À
15/02/2002 18:05:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00620864
Message ID:
00620999
Vues:
10
>>create File DSN and open it in any text editor.
>
>???I don't think I know where to look for it?
>I'm still using VFP database, and will be converting to SQL server in the future. Where can I find a connection string for VFP database?
>
You can create File DSN, open it in any text editor and copy into connection string. There's a working example from my PC for free tables in h:\Temp directory.
lcConnStr = "DRIVER=Microsoft FoxPro VFP Driver (*.dbf); " + ;
			"UID=; " + ;
			"Deleted=Yes; Null=Yes; Collate=Machine; " + ;
			"BackgroundFetch=No ; " + ;
			"Exclusive=No; " + ;
			"SourceType=DBF; SourceDB=h:\Temp; "
lnConn = SqlStringConnect(lcConnStr)
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform