ACC1x: Make-Table Query Generates "Invalid" Error Message

Last reviewed: May 7, 1997
Article ID: Q109365
The information in this article applies to:
  • Microsoft Access versions 1.0, 1.1

SYMPTOMS

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

When you are running a make-table query, you may receive an error message similar to

   'queryname' isn't a valid name

if you supply an invalid name for the table you want to create.

CAUSE

The name of the table you want to create with the make-table query is invalid. The error message is misleading because it states that the name of the query is invalid. Rather, the name of the table you want to create is invalid.

RESOLUTION

Supply a valid table name in the Query Properties dialog box. Valid names for objects in Microsoft Access can be up to 64 characters long, and can contain any combination of letters, numbers, spaces, and special characters except the period (.), exclamation point (!), and bracket ([]) characters. Valid names cannot include leading spaces or control characters (ASCII characters 0-32).

MORE INFORMATION

Steps to Reproduce Behavior

  1. Open the sample database NWIND.MDB.

  2. Open the Customer List query in Design view.

  3. From the Query menu, choose Make Table.

  4. Enter the name "5!" (without the quotation marks) in the Table Name box.

  5. Save the query as Test Query.

  6. Close the query.

  7. Run the Test Query query. Note that you receive the error message described earlier in this article.


Keywords : kberrmsg kbusage QryMktbl
Version : 1.0 1.1
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: May 7, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.