ACC: Error Opening Linked dBASE Table (141104)
The information in this article applies to:
- Microsoft Access 2.0
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q141104
Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
When you try to open a shared dBASE (.dbf) database, you may receive
one of the following error messages:
Index file not found
-or-
Couldn't open file '<File Name>'
CAUSE
When two or more Microsoft Access databases have tables that link (attach)
a dBASE table (.dbf) and its associated index file (.ndx), Microsoft
Access creates an information file (.inf) during the linking process.
Microsoft Access gives this information file the same name as the .dbf file
and stores the name and the location (path) of the index file being used.
Any time a new link is made to the dBASE table and its associated index
file from another computer, Microsoft Access prompts you to re-create the
.inf file. The new .inf file then contains a new path to the index file,
which causes the previous link to have an invalid path.
RESOLUTION
Edit the dBASE file's associated .inf file to remove the full path
reference. To do so, follow these steps:
- Open the .inf file in Notepad.
- On each of the NDX1 command lines, remove the path to the .ndx file,
leaving just the .ndx name. When you are finished, the .inf file
should have settings similar to the following:
[dBase III]
NDX1=CUSTOMER.NDX
[UIDX1 CUSTOMER]
NDX1=CUSTOMER.NDX
Both computers can now view the linked dBASE table without generating the
error message. Without a full path specified on the NDX1 command line,
Microsoft Access always looks in the default folder (directory) for the
.ndx file specified. The default folder is the folder where the .dbf file
resides.
REFERENCES
For more information about linking tables, search the Help Index for
"linking tables," and then "Troubleshoot problems with linked tables"
or ask the Microsoft Access 97 Office Assistant.
Modification Type: | Major | Last Reviewed: | 5/7/2003 |
---|
Keywords: | kb3rdparty kberrmsg kbprb KB141104 |
---|
|