Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add many files to project
Message
 
À
24/07/2005 10:24:59
Reza Meamar
Homa Programming Group
Shiraz, Iran
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Versions des environnements
Visual FoxPro:
VFP 7
Database:
Visual FoxPro
Divers
Thread ID:
01035499
Message ID:
01035511
Vues:
11
>Hi all
>I have a project with 70 reports. it is difficult to add these reports one by one to the project.
>Is any way to add these files in another way?
>Thanks

Here is another technique I learned using Visual Maxframe Pro
Use the External Command
EXTERNAL REPORT xxx
Use one of these lines for each report replacing xxx with your report name. Put the EXTERNAL statements in a procedure at the bottom of your main program, but never call the procedure. Whenever you rebuild the project, all of the files listed with the EXTERNAL declaration will automatically be added to your project.
This declaration can also be used for
EXTERNAL CLASS
EXTERNAL FORM
EXTERNAL LABEL
EXTERNAL LIBRARY
EXTERNAL MENU
EXTERNAL PROCEDURE 
EXTERNAL QUERY 
EXTERNAL REPORT  
EXTERNAL TABLE
If you do this, your project file also becomes self reparing. If the project table is lost or files are accidentaly removed, the next rebuild will automatically re-populate the project table.
Burt Rosen
Software News & Views, Editor in Chief and Writer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform