Importance of FOXUSER.DBF to Catalog Manager

ID: Q113005

The information in this article applies to:

SUMMARY

The FoxPro Catalog Manager uses the FoxPro resource file, FOXUSER.DBF, to store information about the Catalog Manager environment. Since these preferences are likely to be unique for every user, each user should be assigned his or her own resource file.

MORE INFORMATION

When the Catalog Manager starts up, it attempts to read the current resource file to determine the following user preferences:

This information is stored as individual records in the active resource file. To demonstrate this behavior, type the following sequence of commands in the Command window:

   USE SYS(2005) AGAIN      && open the current FOXUSER file
   BROWSE FOR ID='CATALOG'  && browse the catalog preferences

If a resource file is not in use, these preferences will not be saved, and the user will be asked to open a catalog each time he or she enters the Catalog Manager environment. If a resource file is in use but marked as read-only, the user will receive the following error when attempting to start and later leave the Catalog Manager:

   Error 111 (Cannot write to a read-only file.) occurred while writing
   the preference to <path>\FOXUSER.DBF.

The error occurs because the Catalog Manager is unable to write the preferences listed above to the resource file.

FoxPro catalog files (.FPC), like FoxPro project files (.PJX), are single- user objects; therefore, preferences will be unique for each user, and each user should be assigned his or her own resource file to increase the user's productivity if the user often finds himself or herself using the same catalog during several consecutive FoxPro sessions. To accomplish this, the CONFIG.FP or CONFIG.FPW configuration file should specify a path to a unique resource file.

For more information about the FoxPro configuration file, see the "Customizing FoxPro" section of the "Installation and Configuration" manual.

Additional reference words: FoxDos FoxWin 2.60 multiuser multi-user KBCategory: kbprg KBSubcategory: FxprgMultiuser

Last Reviewed: June 27, 1995