Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Views referencing wrong .dbc
Message
From
16/07/2001 11:51:13
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
 
 
To
14/07/2001 17:58:09
Bill Breay
Custom Business Software
Arvada, Colorado, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00530710
Message ID:
00531043
Views:
15
>Hi all,
>
>I am to set up a duplicate project of an existing application. I want to create a demo version.
>
>I have made a new directory for the application and copied all the files, libraries, etc to the new directory. I have changed the name of the project. I have no problem making any changes in the development mode.
>
>When I executed the application it appeared as though the views were referencing the database in the original directory. I changed the name of the original directory and sure enough I got a 1940 error. I have changed the metadbc table to indicate the new directory and it did not help.
>
>Is there some other place where I need to change the reference to the database?
>
>Any help would be appreciated.
>
>Thanks,
>
>Bill

Are you *positive* you're running the new application? When it runs, are you *positive* it's referencing the new MetaDBC? Do you have lUseDBCMgrMetaData = .T. in your new app object? If you don't, it'll try to pick up information from your registry.

As long as you have the setting I mentioned above, your data environments key off your MetaDBC, so you shouldn't have to worry about tracking anything else down.
Hope that helps...
---J
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform