ACC97: One Linked Table Opened Read-Only Makes All Read-Only (172160)
The information in this article applies to:
This article was previously published under Q172160 Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
When you open a linked table as read-only with the OpenRecordset method in
code, all linked tables in that database are read-only until the recordset
is closed.
RESOLUTION
You can either open linked tables read-write instead of read-only, or
you can create a global recordset variable and run the following code when
the database opens:
Dim rsGlobal As Recordset
Function InitializeLinkTables()
Dim mydb As Database
Set mydb = CurrentDb
Set rsGlobal = mydb.OpenRecordset("select * from Shippers")
End Function
STATUS
Microsoft has confirmed this to be a problem in Microsoft Access 97.
This problem no longer occurs in Microsoft Jet Database Engine version
3.51, which is available from the Microsoft Download Center.
For information on how to obtain Microsoft Jet Database Engine 3.51, please
see the following article in the Microsoft Knowledge Base:
172733 ACC97: Updated Version of Microsoft Jet 3.5 Available for Download
Modification Type: | Major | Last Reviewed: | 9/27/2003 |
---|
Keywords: | kbbug kbhowto kbprogramming KB172160 |
---|
|