ACC1x: Two Users Can Open the Same dBASE Database Exclusively

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 : kb3rdparty IsmXbase
Version : 1.0 1.10
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: March 12, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.