ACC: "Error Reading Table or Query '<Name>'" Error Message

ID: Q117540


The information in this article applies to:


SYMPTOMS

Moderate: Requires basic macro, coding, and interoperability skills.

When you select a form or report wizard:


CAUSE

The query that is selected for the Microsoft Access wizard is a parameterized crosstab query. The wizards require fixed column headings so that you can select the fields to be displayed on the form or report.


RESOLUTION

There are three workarounds for this behavior:


MORE INFORMATION

Steps to Reproduce Behavior


  1. Open the sample database Northwind.mdb (or NWIND.MDB in versions 1.x and 2.0). Create a new query based on the Orders table. Then, on the Query menu, click Crosstab. Create the following query:
    
          Query: Test Wizard
          --------------------
          Type: crosstab query
    
          Field: EmployeeID
    
          NOTE: In versions 1.x and 2.0, there is a space in Employee ID.
    
             Table: Orders
             Total: Group By
             Crosstab: Row Heading
          Field: OrderDate
    
          NOTE: In versions 1.x and 2.0, there is a space in Order Date.
    
             Table: Orders
             Total: Group By
             Crosstab: Column Heading
             Criteria: Between [start date] and [end date]
          Field: Freight
             Table: Orders
             Total: Sum
             Crosstab: Value 


  2. On the Query menu, click Parameters. Define Start Date and End Date as Date/Time data types.


  3. Save the query and then run it. Type 5/10/91 as the start date and 5/15/91 as the end date. Close the query.


  4. In the Database window, click the Form button, and then click New. In the Select A Table/Query box, select the Test Wizard query. Click the Form Wizards button. Select any of the Form Wizards, and then click OK.



REFERENCES

For more information about column headings, search the Help Index for "ColumnHeadings property," or ask the Microsoft Access 97 Office Assistant.


Keywords          : kberrmsg WzOthr 
Version           : 1.0 1.1 2.0 7.0 97
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: April 6, 1999