Overview of Catalog ManagerID: Q115472 The information in this article applies to:
SUMMARYThe information below describes Catalog Manager, which is a new tool in FoxPro version 2.6. This information is also found in FoxPro version 2.6 Help. To locate this help file topic, do one of the following:
MORE INFORMATIONThe FoxPro Catalog Manager is a graphical interface that enables you to manage catalogs (.FPC or .CAT files) easily. Catalogs can contain tables, queries, screens, reports, labels and programs. From this central location, you can create, modify, and run these FoxPro files. You can also use AutoMigrate to convert existing dBASE III and dBASE IV files. The Catalog Manager, written entirely in FoxPro, is an example of the type of application you can develop in FoxPro. Catalog Manager Menus Catalog Manager Window
ButtonsBrowse - Displays the active table/query in a Browse window. Disabled when the current catalog contains no tables, or no table is in use. AutoScreen - Creates and runs a new screen based on the active table/query using the Screen Wizard default settings. Disabled when no table is in use. AutoReport - Creates and runs a new report based on the active table/query using the Report Wizard default settings. Disabled when no table is in use. Help - Opens the FoxPro Help window to the Catalog Manager topic. Always available. Active Table/Query Description
Data Source
FoxPro catalogs are single-user files. If you run more than one
concurrent session of FoxPro, each session must have a local copy of
the FOXUSER resource file. You can add table, query, screen, report,
label and program files to more than one catalog.
Creating a CatalogYou can create a new catalog from the File menu. To create a catalog from the File menu: 1. From the File menu, choose New Catalog... FoxPro displays the Save 2. Type the name of the new catalog file in the Save Catalog As text
You can then add existing table, query, screen, report, label and
program files to your catalog, or create new files. For more
information on adding files to a catalog, see Editing a Catalog in
this topic.
Editing a CatalogEditing a catalog is different from adding or removing files on your system. To add a file to a catalog you specify the name of a file that already exists on your system; FoxPro then adds the file name and file location to your catalog (.FPC) file. When you remove a file from a catalog, FoxPro removes the file name and file location from your catalog file. The actual table, query, screen, report or program file remains on your system, unless you also choose to delete the file. You can add a file to your catalog using a tab or the File menu. To add a file to the active catalog using a tab: 1. Select the tab representing the type of file (table, query, screen, 2. Choose the Add push button. FoxPro displays the Open dialog.
3. Select the file you want to add to the catalog from the list of 4. Choose Add. FoxPro adds the name and location of the selected file
To add a file to your catalog using the File menu:
1. From the File menu, choose Add File... to display a cascading menu 2. Select the file type for the file you want to add and click or
3. In the Open dialog, double-click on the file you want to add to the
You can remove a file from your catalog using the Delete key or the
File menu.
To remove a file from the active catalog
You can switch between the Catalog Manager and FoxPro at any time. To switch from the Catalog Manager to the FoxPro menu system and Command window:
Opening an Existing CatalogFoxPro opens the last opened catalog when you choose the option Proceed to the Catalog Manager from the Introductory Screen. If it is not possible to determine the last opened catalog, FoxPro displays the Open dialog. Once in the Catalog Manager, you can also open a different existing catalog (dBASE .CAT file, or FoxPro .FPC file) from the File menu. To open a catalog from the Catalog Manager: 1. From the File menu, choose Open Catalog.... FoxPro displays the 2. Select the catalog you want to open from the list of files.
3. Choose Open.
Removing a CatalogYou remove a catalog by deleting the catalog files from your system. FoxPro catalogs consist of two associated files. The catalog file has the extension .FPC; the associated memo file has the same name as the catalog, with an .FCT extension. dBASE catalogs have the file extension .CAT. Deleting catalog (.FPC and .FCT, or .CAT) files from your system does not affect the table, query, screen, report, label and program files referenced within the catalog. The referenced files remain on your system until you choose to remove them. If you want to remove from your system both the files referenced in a catalog and the catalog itself, first edit the catalog to remove the file references. Check the Delete File from Disk check box in the Remove File dialog to delete the actual files. You can then remove the catalog file from your system. For more information about editing a catalog, see the Editing a Catalog topic.
Exiting the Catalog ManagerWhen you exit the Catalog Manager you can choose to work in the main FoxPro window or to quit FoxPro. To work in the main FoxPro window:
Configuring the Catalog ManagerThe Introductory Screen is displayed by default when you enter FoxPro. If you do not want to display the Introductory Screen each time you start FoxPro, you can check the Don't display this Introductory Screen again check box. If you've checked this check box in the past and want to see the Introductory Screen again, or if you want to start the Catalog Manager automatically when you enter FoxPro, edit your CONFIG.FPW file. To display the introductory screen again, remove the CATMAN=ON/OFF entry. If each time you enter FoxPro you want to display the Introductory Screen, edit CONFIG.FPW to include [no CATMAN entry]. If each time you enter FoxPro you want to suppress display of the Introductory Screen and enter Catalog Manager, edit CONFIG.FPW to include CATMAN=ON. If each time you enter FoxPro you want to suppress display of the Introductory Screen, bypass the Catalog Manager and display the FoxPro Command window, edit CONFIG.FPW to include CATMAN=OFF. Additional reference words: FoxDos FoxWin 2.60 foxhelp.dbf foxhelp.hlp KBCategory: kbtool kbprg KBSubcategory: FxinteropDbase |
|
Last Reviewed: June 28, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |