ACC2000: Link Tables on a CD-ROM or Write-Protected Media (208431)
The information in this article applies to:
This article was previously published under Q208431 Novice: Requires knowledge of the user interface on single-user computers.
This article applies only to a Microsoft Access database (.mdb).
SYMPTOMS
When you try to modify a linked table that is located on a read-only drive, a write-protected disk, or a CD-ROM in Microsoft Access, you may receive the following error message:
The Microsoft Jet database engine cannot open the file 'A:\Myapp.mdb'.
It is already opened exclusively by another user, or you need permission to view its data.
CAUSE
The database file's read-only attribute is set to False and as a result, the linked table appears to be updateable.
RESOLUTION
Set the read-only attribute of the database file (.mdb) before copying
the file to the CD-ROM or floppy disk. Also, do not include the database's
.ldb file. For example, if your database is named Myapp.mdb, do not
include Myapp.ldb on the CD-ROM or floppy disk. Include only Myapp.mdb on
the CD-ROM or floppy disk. Normally, the .ldb files are deleted when the
last user closes the mdb.
Steps to Set the Read-Only Attribute
To set the read-only attribute, the file must be located on a read/write drive.
- Start Windows Explorer and select your .mdb file.
- On the File menu, click Properties.
- If the Read-Only check box is not selected, click to select the check box to set the file access to Read-Only.
REFERENCESFor more information about linking tables, click Microsoft Access Help on the
Help menu, type link data in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned. For additional information about read-only databases and .ldb files, click the article number below
to view the article in the Microsoft Knowledge Base:
208778 ACC2000: Introduction to .ldb Files
Modification Type: | Major | Last Reviewed: | 6/24/2004 |
---|
Keywords: | kberrmsg kbinterop kbprb KB208431 |
---|
|