Project Cleanup

Menu Cleanup

Before you package your application update, remove menu options that may have been helpful while you were modifying and testing your application but which you probably won't want in your final update. Candidates for removal include:

1.   The Debug and Trace options on the Windows menu.

2.   Many of the options on the Edit menu that users of your application will never have a need to access.

3.   Options on the Admin menu for features that you're not including in your application.  You may want to remove the Errors option even though your application will certainly include the VPM Enterprise error handler.  An Errors option on the Admin menu might be psychologically unsettling for users.  However, if you need to be able to fix errors that occur while users run your application, the Errors option is invaluable.

Reports Cleanup

If you have made changes to the list of reports in the Report Manager, you will need to include the Reports system table (SVPMReports.dbf) with the setup files you package. Be sure to remove any reports from the Report Manager that you don't want users of your application to access.  Some of the reports VPM Enterprise automatically adds to all applications might not be appropriate for your application.

Table Cleanup

Before you run an installer program to package your application update, you’ll probably need to do some table cleanup. Some of the application tables may have test records that you need to remove. Other tables may need records entered in them.

We suggest that you clean up your update data files after you copy them to the update directory.

Of course, you could clean up your application tables in your project directories before copying them to the update directory. If you clean up your tables before you copy them to the update directory, you can use the application’s Data Manager and data entry forms to clean up the tables. However, you may destroy important test data if you clean up the data in your project directories.

If you copy your tables to the update directory before you clean them up, you’ll have to use Visual FoxPro interactively to remove unwanted records and field values, but you will not destroy whatever test data the tables in your project directories contain.


Identify Update Files