ACC: Linked Text File Report Causes Error After Closing Access
ID: Q156196
|
The information in this article applies to:
-
Microsoft Access versions 7.0, 97
SYMPTOMS
If you create a report based on a linked table that is of the text file
type in Microsoft Access for Windows 95, you may receive the following
error message when you reopen the report after quitting and restarting
Microsoft Access:
The text file specification '<tablename> Link Specification' does not
exist. You can't import, export, or attach using the specification.
CAUSE
The linked text table must be opened before you can preview the report.
RESOLUTION
Open the linked text table that the report is based on, and then preview
the report.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Access
version 7.0.
This behavior has been found to occur in Microsoft Access 97 in the
following situations:
- A parameterized query (query parameter or form) based on a linked text
table that has not been saved and reopened (or has been changed in any
slight way after running successfully).
- A report based on a query being opened without the table that the query
is based on being opened beforehand.
MORE INFORMATION
Steps to Reproduce Problem
- Open the sample database Northwind, and click the Tables tab.
- Select the Employees table, and 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 'Employees' In" dialog box, in the File Name box,
type MyFiles. In the Save As Type box, select Text Files, and then
click Export.
- When the Text Export Wizard dialog box appears, click Finish.
- Click OK to the Text Export Wizard message which states that the export
process has finished.
- On the File menu, point to Get External Data, and then click Link
Tables.
- In the Link dialog box, select the exported text file MyFiles.txt, and
then click Link.
- In the Link Text Wizard, click the Next button three times to
see the "That's all the information the wizard needs to import your
data" box, and type Employees_link for the Linked Table name. Click
Finish.
- Click OK to the Finished Linking Table message in the Link Text
Wizard.
- Create an AutoReport based on this linked table.
- Close the report, close the database, and quit Microsoft Access.
- Reopen the database, and then open the report in Preview mode. Note
that you receive the error message mentioned in the "Symptoms" section.
Additional query words:
Acc95 Acc97
Keywords : kb3rdparty IsmTxtfx
Version : 7.0
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: April 28, 1999