PRB: "Exclusive Open of File Is Required" Error in FoxProLast reviewed: April 29, 1996Article ID: Q92346 |
The information in this article applies to:
SYMPTOMSAn attempt to perform an action in Microsoft FoxPro fails with an "Exclusive open of file is required" error message.
CAUSEThe user attempted to run one of the following commands on a shared database (one that is not opened for exclusive access):
RESOLUTIONOpen the database for exclusive access, using one of the following statements:
USE <database> EXCLUSIVE -or- SET EXCLUSIVE ON USE <database>NOTE: This also occurs when attempting to perform a ZAP on a .DBF file that is not marked as Excluded in a project.
MORE INFORMATIONTo use one of the commands above that requires the database to be opened for exclusive use, close the database, then issue the SET EXCLUSIVE ON command from the Command window. If the database is open, SET EXCLUSIVE ON causes another "Database not opened exclusively" error. When a database is not opened for exclusive access, the MODIFY STRUCTURE command operates in read-only mode. NOTE: If a table is added to a project, but not marked as excluded, then the table is opened in read-only mode when the .APP or .EXE built from the project is run.
|
Additional reference words: FoxDos FoxWin 2.00 multi-user programming 2.50
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |