Microsoft KB Archive/169917

= ACC97: Error Refreshing Text File with Linked Table Manager =

Article ID: 169917

Article Last Modified on 1/19/2007

-

APPLIES TO


 * Microsoft Access 97 Standard Edition

-



This article was previously published under Q169917



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



SYMPTOMS
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 ' ' 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.



Steps to Reproduce Behavior
 Open the sample database Northwind.mdb and select the Customers table. On the File menu, click Save As/Export. In the Save As dialog box, click to select "To an External File or Database," and then click OK. In the "Save Table 'Customers' In" dialog box, select Text Files in the Save As Type box. In the File Name text box, type C:\My Documents\Customers.txt, and then click Export.</li> When the Export Text Wizard appears, click Finish, and then click OK.</li> On the File menu, point to Get External Data, and then click Link Tables.</li> In the Link dialog box, select Text Files in the Files Of Type box.</li> Locate the folder C:\My Documents, select Customers.txt, and then click Link.</li> On the first three screens of the Link Text Wizard, click Next.</li> On the last screen of the Link Text Wizard, type CustomersLinked in the Linked Table Name box, and then click Finish.</li> When you receive the message that Microsoft Access has finished linking, click OK.</li> Quit Microsoft Access.</li> Open Windows Explorer and move C:\My Documents\Customers.txt to another folder.</li> Start Microsoft Access and open the sample database Northwind.mdb.</li> On the Tools menu, point to Add-Ins, and then click Linked Table Manager.</li> 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.</li> 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.

</li></ol>

<div class="references_section">