MS Access (MDB) concurrency

后端 未结 11 1437
迷失自我
迷失自我 2020-11-27 14:09

For a small project I need to utilize a simple database with very light requirements: few tables, no more than few thousands of records in total, 2 or 3 users. I am working

11条回答
  •  清酒与你
    2020-11-27 14:57

    I don't have much experience with Access, but this link may be useful to you:

    http://office.microsoft.com/en-us/access/HP052408601033.aspx

    "You can put the entire Access database on a network server or in a shared folder. This is the easiest method to implement. Everyone shares the data and uses the same forms, reports, queries, macros, and modules. Use this strategy if you want everyone to use the Access database the same way or if you can't support users creating their own objects."

    "When you open an Access database file (.mdb) in shared mode, Microsoft Access also creates a locking information file (.ldb) with the same file name (for example, Northwind.ldb) and in the same folder as the database file. This locking information file stores the computer name (such as mypc) and security name (such as Admin) of each shared user of the database. Microsoft Access uses this information to control concurrency. In most cases, Microsoft Access automatically deletes the locking information file when the last user closes the database file."

提交回复
热议问题