How to Start FoxPro 2.6 Catalog Manager with Specific CatalogLast reviewed: October 29, 1995Article ID: Q138662 |
The information in this article applies to:
SUMMARYThe FoxPro resource file can be modified to cause the FoxPro 2.6 Catalog Manager to start with a specific catalog. By design, the FoxPro 2.6 Catalog Manager starts with the catalog that was active when the Catalog Manager was last closed. Upon startup, the FoxPro 2.6 Catalog Manager gets the last-used catalog name from the Foxuser resource file. The record is identified by the fields Id = "CATALOG" and Name = "Catalog Name." The Data field holds the path and name of the most recently used catalog. The Data field can be modified either directly or programatically. This article describes both ways.
MORE INFORMATION
Directly Changing the Default CatalogEdit the Foxuser.dbf file putting the path and name of the catalog in the data field. Then change the Readonly field's value to true (.T.). This can be done as follows:
Programatically Setting the Default CatalogSetting the default catalog programatically could allow more flexibility. This can be done by calling a program from the Config.fp(w/m) file to reset the catalog specified in the Data field. This program will replace the catalog name in the Data field with the catalog specified in the called program. The following example uses a catalog file called Mycat.fpc located in the C:\Fpw directory.
|
Additional reference words: 2.60a FoxWin catman catalog manager
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |