I have several different front end Access applications that are used by many employees all day long. The front end applications access a single back end database that is on our network. This back end database is very large, and needs to be compacted nightly. The data in the back end database comes from an external data source, and I run an import procedure every night to import the data.
My problem comes into play when users don't close the front end applications before leaving at night. If the users leave part of the application running, then I can't import the new data because the user has the table locked. And I also can't compact the database.
Is there any way to programatically "kick out" any users that still have open resources to my back end database so I can perform administrative tasks? On one of the more heavily used front end applications, I have added code so that the application automatically closes at a certain time, but it would be much more efficient if I could control this from the back end database. Sometimes, even if no one has the application open, a resource is still open on the back end server for some strange reason. I'm sure others have encountered this same situation (where they need users out of a database), and I'm simply looking for suggestions. It would be great if there was some code that would just terminate all connections to the database. By the way, this is a read only database, there is no data entry involved, so this should make it even easier. Thanks in advance for any help or suggestions that you can provide.
My problem comes into play when users don't close the front end applications before leaving at night. If the users leave part of the application running, then I can't import the new data because the user has the table locked. And I also can't compact the database.
Is there any way to programatically "kick out" any users that still have open resources to my back end database so I can perform administrative tasks? On one of the more heavily used front end applications, I have added code so that the application automatically closes at a certain time, but it would be much more efficient if I could control this from the back end database. Sometimes, even if no one has the application open, a resource is still open on the back end server for some strange reason. I'm sure others have encountered this same situation (where they need users out of a database), and I'm simply looking for suggestions. It would be great if there was some code that would just terminate all connections to the database. By the way, this is a read only database, there is no data entry involved, so this should make it even easier. Thanks in advance for any help or suggestions that you can provide.