Reputation: 851
I have built an access database that is split into a frontend and a backend. This frontend has quite a bit of VBA programming in it. I put them both out on our shared drive at work for all the users to use. However, I'm the only person that can open it. When other users open it the just get Access's home screen where it shows open recent files, new database, etc. However, if I log in with my account on someone else's computer I'm able to open it. Any ideas why users can't open it? I published it as an .accde so all the VBA would be compiled, so it shouldn't be a reference error.
Upvotes: 0
Views: 2950
Reputation: 330
Check that the linked tables in your back-end database, as well as any VBA references to them, have fully qualified network drive paths. I have encountered a similar situation related to this issue.
Even if everyone has access to the database as well as to the shared drive, in some network systems such as Novell, each user's shared drive permissions are individually mapped and aliased. As a result, the same network drive path can be mapped to different drive letters for different users.
So for example, when you log in you might see that the file is on G:\Shared Stuff However, it is entirely possible that another user may have this network drive mapped to H:\Shared Stuff instead. As a result, they will still be able to see your front end database, but any interactions that reference or link to G:\Shared Stuff will fail for them, since the drive you intend to reference is mapped to their H: drive. This can easily happen if you are using the Access wizard to split the database or create linked tables.
If you are using a file system such as Novell that uses drive letters, the solution is to use the full file path, including the part of the path that is being abstracted away by the mapped drive letter. So for instance, instead of G:\Shared Stuff you might need to use something like \\Company Data\My Department's Data\Shared Stuff.
In Novell you can find the full network path by looking in your 'Map Network Drive'.
Not the only reason this could happen, but worth checking! Good luck.
Upvotes: 1
Reputation: 851
Well I was a bit hasty in posting my question, I just figured out the problem. The backend was stored in a folder on the shared drive that has restricted access so that we didn't have to worry about any user accessing the data, however, that meant that users who didn't have access to that folder, AKA not me, couldn't open the frontend. Solution: lockdown backend and put it on a shared location.
Upvotes: 2