ACC97: Specification Error When Refreshing Link to Text File

Last reviewed: June 11, 1997
Article ID: Q169917
The information in this article applies to:
  • Microsoft Access 97

SYMPTOMS

Novice: Requires knowledge of the user interface on single-user computers.

When you create a link to a text file from Microsoft Access 97 and then move the text file to another folder, you may receive the following error message when you try to use the Linked Table Manager to refresh the link:

   The text file specification '<text filename>' does not exist. You can't
   import, export, or link using the specification.

CAUSE

A specification is created when you create a link to a text file. If you quit Microsoft Access, move the text file to another folder, and then restart Microsoft Access, the specification no longer works because the path to the text file has changed.

RESOLUTION

Remove the link to the text file. Then, recreate the link to the text file in its new location.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Open the sample database Northwind.mdb and select the Customers table.

  2. On the File menu, click Save As/Export.

  3. In the Save As dialog box, click to select "To an External File or Database," and then click OK.

  4. In the "Save Table 'Customers' In" dialog box, select Text Files in the Save As Type box.

  5. In the File Name text box, type "C:\My Documents\Customers.txt" (without the quotation marks), and then click Export.

  6. When the Export Text Wizard appears, click Finish, and then click OK.

  7. On the File menu, point to Get External Data, and then click Link Tables.

  8. In the Link dialog box, select Text Files in the Files Of Type box.

  9. Locate the folder C:\My Documents, select Customers.txt, and then click Link.

  10. On the first three screens of the Link Text Wizard, click Next.

  11. On the last screen of the Link Text Wizard, type CustomersLinked in the Linked Table Name box, and then click Finish.

  12. When you receive the message that Microsoft Access has finished linking, click OK.

  13. Quit Microsoft Access.

  14. Open Windows Explorer and move C:\My Documents\Customers.txt to another folder.

  15. Start Microsoft Access and open the sample database Northwind.mdb.

  16. On the Tools menu, point to Add-Ins, and then click Linked Table Manager.

  17. In the Linked Table Manager dialog box, click to select the CustomersLinked and the "Always Prompt for New Location" check boxes, and then click OK.

  18. In the "Select New Location of CustomersLinked" dialog box, locate Customers.txt in its new location, and then click Open.

    Note that you receive the following error:

    The text file specification 'Customers Link Specification' does not exist. You can't import, export, or link using the specification.

REFERENCES

For more information about linking text files, search the Help Index for "text files, importing or linking," and then select "Import or link data."


Keywords : IsmOthr IsmSetup kberrmsg WzAtmgr
Version : 97
Platform : WINDOWS
Hardware : x86
Issue type : kbprb
Resolution Type : Info_Provided


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 11, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.