I have a database that resides on a shared network so that many users of the database can open it up and use it simultaneously. However, I want to limit the number of users who can use it to only 5. So that when a 6th user wants to use it he will get a MsgBox that reads "The maximum number of users are currently using the database. Please wait until someone logs off." Do I have to write something in code to accomplish this? I beleive I start somewhere with the DBEngine.Workspaces(i).Database(i) however I'm not sure how to go about it. Can someone out there help?