Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change Database Location in a Project
Message
 
To
05/05/1997 13:57:54
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00030865
Message ID:
00047138
Views:
57
>>I have a Visual Foxpro database on a network drive and I wish to create a "Demo" version of the program that our president can carry around on his laptop for demonstration purposes. This will require changing the path of the database (and all it's tables). Is there any way to do this without going into every form and report and changing the data environments?
>
>Basically, each form/report DE should include custom oApp.datapathchange method to set data path depending on some start setting, like:
>This.Cursor1.Database=oApp.dbcpathname
I have a similar problem with a DE in a report. This.cursor1.database="M:\data\mydata.dbc" in the init event does not do the trick. Is there something else that i can do?
Analystik Team
1430 Belanger
Montreal (Quebec)
Canada
(514) 278-2727
analyste@analystik.ca
Previous
Reply
Map
View

Click here to load this message in the networking platform