Article ID: 241477 - Last Review: December 12, 2002 - Revision: 1.0 ACC2000: Error When You Try to Use Schema.ini to Import or Export with the TransferText Method
This article was previously published under Q241477 This article applies only to a Microsoft Access database (.mdb).
Advanced: Requires expert coding, interoperability, and multiuser skills. SYMPTOMS
When you use the TransferText method to import or export a text file, you may receive the following error message:
Run-time error '2511': The action or method requires a Specification Name argument.
-or-
Run-time error '3625': The text file specification 'C:My DocumentsSchema.ini' does not exist. You cannot import, export, or link using the specification. RESOLUTION
Use the Data Access Object (DAO) Execute method to import the text file. You can instruct this method to use the Text ISAM driver. This driver is designed to automatically use a Schema.ini file, as long as the file resides in the same folder as the text file.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. MORE INFORMATION
The TransferText method carries out the TransferText action in Visual Basic. The syntax for this method is:
Access 2000 Help states that when you use the SpecificationName argument for a fixed-width text file, you must either specify an argument or use a Schema.ini file, which must be stored in the same folder as the imported, linked, or exported text file. However, when you apply these instructions, you can encounter one of the error messages listed in the "Symptoms" section. Steps to Reproduce the Behavior
REFERENCESFor more information about the TransferText action or method, click Microsoft Visual Basic Help on the Help menu, type TransferText in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|





















Back to the top