Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing paths
Message
De
14/05/1999 16:45:07
 
 
À
14/05/1999 12:22:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Titre:
Divers
Thread ID:
00219079
Message ID:
00219224
Vues:
21
>Hello everyone:
>
>This question is more a a systems information question, but I thought someone on the UT would probably have the answer.
>
>I am building a database in FoxPro. When I initially built the project, I used the Application builder to build my project. I gave the project a name and FoxPro went to work and created a folder with the project name.
>
>Well, the mistake I made a few months ago is hauntig me now. When I built forms and tables and saved them, the default choice was my VFP folder. So, without paying attention, I simply saved the forms/tables to this folder. Everthing works fine on my system. However, when I moved the application to our server, I had to move it in two folders, b/c without the two folders, it wouldn't work. The person who controls our server isn't all that happy that I did it this way. He wants it in one folder, not two!
>
>I want to move the files I need out of my VFP folder into my project folder, so that everything is in one folder. I can do that easily, but when I do and try to run a form or table, I get an error message that says something like "doesn't exist, path not found".
>
>** My question is: How can I change the path of the files I want to move so that FoxPro knows where there are? This question is a little embarrasing, b/c I should be able to do this.... but I don't have a clue as to how to do it!
>
>TIA for any help
>
>Jason

Basically, all project-related components should be located on the same tree: project file in root folder and other files in subfolders.
There two cases in your problem:
1) Project included components (forms, reports, etc). You may just collect them to separate subfolders, put project file in the root and open it. VFP will ask you to locate needed file and you will pick up subfolders, and new paths will be stored in the project.
2) Project excluded components (data files). You may also have your development data in subfolder. The pointing to real data can be done in run-time using DE.BeforeOpenTables event.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform