ACC: Errors Refreshing Linked Text File via Linked Table Mgr (190186)
The information in this article applies to:
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q190186 Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
When you try to refresh a link to an external text file by using the Linked
Table Manager from within Microsoft Access, you may receive one of the
following error messages:
- Application-defined or object-defined error.
-or-
- The text file specification '<Filename> Link Specification' does not
exist. You can't import, export, or attach using the specification.
CAUSE
The Linked Table Manager requires an information file called Schema.ini to
determine the characteristics of the text file, such as column names,
field lengths, and data types. Text files linked through the Link Text
Wizard do not use the Schema.ini to determine the characteristics of the
file.
RESOLUTION
To resolve this problem, you must first create a Schema.ini file and link
the external text file by using the TransferText method in a macro or in a
Visual Basic for Applications function.
NOTE: The Schema.ini file must reside in the same folder as the text
file(s) it describes.
For more information about creating a Schema.ini, please see the following
articles in the Microsoft Knowledge Base:
149090 ACC: How to Use Schema.ini for Accessing Text Data
155512 ACC: How to Create a Schema.ini File Programmatically
Modification Type: | Major | Last Reviewed: | 10/20/2003 |
---|
Keywords: | kbprb KB190186 |
---|
|