Home > Archive > FoxPro database connector > April 2005 > How to rename connection?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to rename connection?
Peter

2005-04-07, 8:05 pm

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-07, 8:05 pm

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
cindy_winegarden@msn
.com www.cindywinegarden.com
Blog: http://spaces.msn.com/members/cindywinegarden


"Peter" <Peter@discussions.microsoft.com> wrote in message
news:C0E9D60C-8E82-4417-B489- 4F922757C51D@microso
ft.com...
>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.



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com