5

I have database for my desktop application, a billing application. I want that database shared so it can be opened by multiple users, but I currently get an error message like "database has been opened exclusively by another user or you not have permission".

What should I do to resolve this?

DMA57361
  • 18,662

4 Answers4

2

If this database is an Access Database, then try "splitting" it in 2. Have a FRONT END (FE) which contains all the Forms, coding & logic. Then have a BACK END (BE) which contains nothing but the Tables & Data, then link the Tables at run-time. This will definately stop the error that you are getting.

James Mertz
  • 26,344
Senoc26
  • 21
2

See the "Splitting your app into a front end and back end Tips" page for more info.

1

To make your database accessible to multiple users you need to do three things in all:

  • Convert your data into an earlier version format, then you can access the user level and create multiple accounts.
  • Split your data into front end and back end, then use linking tables
  • Export your data into MySQL server
  • Build a small VB program and change your database's VBA settings
Excellll
  • 12,717
Farhan
  • 11
0

Taking something similar what Senoc26 has, You can push all of your data to MySQL or MS SQL for little to no cost. These database servers are meant to handle multiple connections at the same time to help prevent corruption. You would then use an ODBC connector and link the tables from your MS Access front end to the databases. Each person would have a copy of the MS Access database on their computer and would all connect to one centralized database.

kobaltz
  • 14,824
  • Why go to the extra effort when splitting the database will be sufficient? Also this may not be possible if SQL Server or MYySQL aren't available on the network. – Tony Toews Jul 18 '11 at 20:12
  • By migrating the data to a MySQL server, you will be able to not only back up your database on a schedule, but you're also putting it on a platform that is mean to handle several users at the same time. Do it right or don't do it at all imo. – kobaltz Jul 19 '11 at 00:40
  • Putting the database on MySQL is no guarantee backup will be done. You're assuming there is an IT department with folks involved who monitor such. Access handles multiple users just fine. I've had systems running just fine with 25 users. – Tony Toews Jul 19 '11 at 01:15
  • Your comment "Do it right or don't do it at all" is inappropriate. – Tony Toews Jul 19 '11 at 03:46