ACC1x: Two Users Can Open the Same dBASE Database Exclusively

Last reviewed: April 2, 1997
Article ID: Q90882
The information in this article applies to:
  • Microsoft Access versions 1.0, 1.1

SUMMARY

Two Microsoft Access users can attach the same dBASE file over a network, even though one or both open the database using the Exclusive option in the Open Database dialog box.

MORE INFORMATION

If more than one user attempts to attach a dBASE database file using the Exclusive option in the Open Database dialog box, the attach action completes successfully, even though another user may already have attached that database exclusively.

However, even though both users are able to attach the table, only one of the attached users is able to open the table. If the second user attempts to open the table, he or she receives the error message:

   Couldn't Open File <filename>

If you start two sessions of Microsoft Access on the same computer and attempt the procedure above, you get the same response, except that you receive the error message:

   Database Exclusively Locked

There is no exclusive database lock in dBASE; records in files are locked, not the entire file. In other words, one user can open a database exclusively, and a second user can open it shared or exclusively. Therefore, the exclusive database lock can only be recognized by Microsoft Access when it controls both attempts to open the same file from the same computer.

REFERENCES

For more information about attaching dBASE files, search for "dBASE files" using the Microsoft Access Help menu.


Additional query words: locking
Keywords : IsmXbase kb3rdparty
Version : 1.0 1.10
Platform : WINDOWS
Hardware : X86
Issue type : kbinfo


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 2, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.