Microsoft KB Archive/109365

{|
 * width="100%"|

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

 * }

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).

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! 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

Issue type : kbprb

Technology :