Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the connectname (data source) of a Remote View?
Message
 
To
17/11/1999 09:14:23
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00291854
Message ID:
00292256
Views:
22
>>So the question is: is there a way to alter the connectname for a remote view without deleting and recreating it? (we have a good number of remote views). We would also like to avoid just changing the database in the ODBC source (by going to ODBC admin) since there is the chance of forgetting to change it back as we switch environments.<<


Actually Bob Lucas's approach looks good. But another idea would be to
a) open "Your.dbc" just like you would a DBF
b) Look for the objecttype="Connection" and then change Objectname to the desired connection name.

OK -- I have never tried this, but unless the properties field carries a reference to the connection name, it should work fine (please back up your DBC before trying).

Kevin
Kevin Emmrich
www.jkt9000.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform