General information
Title:
Cursoradaptor datasource
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only