Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursoradaptor datasource
Message
From
17/10/2004 19:55:21
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Cursoradaptor datasource
Miscellaneous
Thread ID:
00952166
Message ID:
00952166
Views:
52
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
Next
Reply
Map
View

Click here to load this message in the networking platform