Discussion:
How to rename connection?
(too old to reply)
Peter
2005-03-30 00:25:08 UTC
Permalink
I want to rename a connection in the dbc. I know I can use rename connection
but what happen to the connection name in each remote view. When I try to
use a remote view, I will get the message "data source name not found and no
default driver specified.

Thanks.
Cindy Winegarden
2005-04-04 14:48:16 UTC
Permalink
Hi Peter,

Run GenDBC.prg on your DBC. Hack out the code that creates the views, then
do a Find/Replace to change the names. Then run the program to recreate the
views.

GenDBC is in C:\Program Files\Microsoft Visual FoxPro 9\Tools\Gendbc\
--
Cindy Winegarden MCSD, Microsoft Visual Foxpro MVP
***@msn.com www.cindywinegarden.com
Blog: http://spaces.msn.com/members/cindywinegarden
Post by Peter
I want to rename a connection in the dbc. I know I can use rename connection
but what happen to the connection name in each remote view. When I try to
use a remote view, I will get the message "data source name not found and no
default driver specified.
Thanks.
Loading...