Microsoft Access 2007 & Power users

旧城冷巷雨未停 提交于 2019-12-12 02:58:57

问题


We're using MS Access 2007 as our DB and should support users with limited access (power users):

  • The DB should be common to all users (hence cannot be located on user's private folder)
  • We are not allowed to grant permissions for all users for R/W for a certain directiry
  • Yet we need all users be able to use this DB.

Can anyone can think on a solution to this issue? (I can only think on writing a service to this job, but I'm sure there must be something better)


回答1:


Have a look at this to help you make your decision. Personally I won't recommend using Access if your user is more than say 4 simultaneous users as a shared database. I've used solution however where we use Access as a front end to a SQL Server backend where we cache SQL data locally for faster access and push necessary data changes back to SQL Server. And have that Access file reside on the client computer.

Putting Access anywhere will require a R/W permission on that directory since Access will create lock file in that directory (or it used to be anyhow).

If you insist on using Access, I'd go w/ Access front end connecting to SQL Server backend. The network share option is doable if you don't have a lot of users (4 - 8 the most).




回答2:


You want to split the MDB into a Front End MDB containing the queries, forms, reports, macros and modules with just the tables and relationships in the Back End MDB. The FE is copied to each network users computer. The FE MDB is linked to the tables in the back end MDB which resides on a server. You make updates to the FE MDB and distribute them to the users, likely as an MDE.

See the "Splitting your app into a front end and back end Tips" page for more info. See the Auto FE Updater downloads page to make this relatively painless.. The utility also supports Terminal Server/Citrix quite nicely.

Now I don't quite understand why you have the restriction mentioned in your second bullet There has to be a common folder on a server somewhere where all usess have R/W privileges. Please explain this in more detail.




回答3:


SQL Server Express can be used as the backend database, and it doesn't require that you give write permissions to a folder for everyone.

The SQL Server Migration Assistant 2008 for Access V4.0 can be used to migrate the Access database tables to SQL Server Express.

Using SQL Server Express as the database server will greatly improve the stability and reliability of Access in a multiuser environment. I have worked with Access for several years, in installations with 20+ concurrent users. If you are doing something similar, I strongly recommend that you use Sql Server or Sql Server Express as your backend database.



来源:https://stackoverflow.com/questions/1115385/microsoft-access-2007-power-users

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!