Linked Excel file opens when Access front end opens- How to stop this behavior

北战南征 提交于 2019-12-25 01:37:11

问题


I have Ms access- frond end which is distributed to more than 50 Users and its works very well until today i come across a weird behavior.

today, I have linked one excel file in back end and use this linked table in front end a create a form using query (view only) and updated my front end. through my test I found that if I open two instance of my front end and open the newly created form than in second instance access open my the linked Excel file as readonly.

My question is, how can i avoid this behavior? I don't want my users to see this excel file by any way. is there any work around?


回答1:


That's by design. An Excel workbook hosted on premise cannot be shared for writing.

One workaround is to create a copy of the workbook for each user. For instance, let your application copy the workbook from the shared location to a local subfolder of %LocalAppData%, the user's local data folder, and link to that.



来源:https://stackoverflow.com/questions/56426985/linked-excel-file-opens-when-access-front-end-opens-how-to-stop-this-behavior

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