Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursoradaptor datasource
Message
De
17/10/2004 19:55:21
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Cursoradaptor datasource
Divers
Thread ID:
00952166
Message ID:
00952166
Vues:
53
I am trying to remove the "hard coded" .Datasource connection string from my Cursor Adaptor. I would like to use a #DEFINE inside an #INCLUDE file, but it doesn't seem to work. I have included the .h file in the class and other #defines in that .h file are working but when I use

.Datasource=SQLSTRINGCONNECT(mysqlconnstr)

the data does not connect.

My .h file has a line with :

#DEFINE mysqlconnstr "driver=sql server;server=webdev;database=shareddata;uid=UID;pwd=pwd"

This conn string works fine inside SQLSTRINGCONNECT

thanks

bonnie
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform