Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change Database Location in a Project
Message
 
À
05/05/1997 13:57:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00030865
Message ID:
00047138
Vues:
52
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform