Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I change a view connection string dynamically ?
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00640006
Message ID:
00640025
Views:
14
Yes, you can do that.

You need to change the connection string in the connection defined in the DBC via dbSetProp( 'MyConnection', 'CONNECTION', 'ConnectString', 'the new connection string goes here' )



>Hello Everybody!
> Is there a way that I can change where a remote view points to dynamically. Lets say that I created a remote view that points to Table1 in
>Server1, open the view using NODATA, can I change now the view to points to
>Table1 in "Server2" and then requery ?
> I tried SQLSETPROP(nHandle,"ConnectString",cMyNewString),
>but "ConnectString" is read only, any thoughs ?
>
> Thanx in advance!
Hector Correa
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform