Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

database locking

ResolvedVersion 2003

Pat has attended:
Access Advanced course

Database locking

I have created an Access Database which has no internal
Security - Our IT department gave the initial set of users
full read/write access to the folder on the server where the
Database sits , as this set of users required full access. These
users have been using the database with no problems (including when several are using it at the same time) .
Our IT department has now given more people access to the
Folder containing the database , but has given them read only access to the folder, as they will be using the database
to view information only. When any of these users trys to open the database they get the message 'Could not lock file' & cannot open it. Is this because of the 'Read only' folder access that these user have benn given? Is the only way to give mixed full or read only accessto the database by creating user groups etc.

RE: Database locking

Hi Pat, thanks for your query. Your problem has been encountered by others and there is a discussion of it here:

http://tinyurl.com/yg7pq7v

It seems some advise making changes to the registry of the individual computers accessing the database which is definitely something you should get IT to do rather than yourself, and I have a feeling they will be reluctant to do so. Usergroups may solve this situation, but a workaround could be a series of separate databases in difficult folders with different permission settings, and a master database which runs an append query on opening.

Alternatively, why not create a switchboard at the start of the database? It could either be a simple password entry, or allow only those with an admin password to run select queries which would be output to a report which would prevent changes being made. Others with the right password could access the whole thing.

Hope this helps,

Anthony

Access tip:

Choosing data types in Access

Not sure which data type to use for your Access fields? Here are some guidelines to help you choose a data type to assign to a field.

- The Text data type can accept up to 255 characters. For information that will be recorded in paragraphs, use Memo.

- Also use Text for numbers that aren't going to be used in calculations, e.g. phone numbers.

- Use the Currency data type for monetary amounts.

- Use Date/Time for dates.

- Most other numbers can use the Number data type, but the Field Size property may have to be altered.

- For fields that have only two alternatives (yes, no) use Yes/No data type. If there is likely to be a third entry option (e.g. maybe or don't know) use Text instead.

View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.