Microsoft KB Archive/294398

= ACC2002: Tables Not Upsized When Query or Table Name Contains Apostrophe =

Article ID: 294398

Article Last Modified on 11/6/2003

-

APPLIES TO


 * Microsoft Access 2002 Standard Edition

-



This article was previously published under Q294398



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

This article applies only to a Microsoft Access database (.mdb).

For a Microsoft Access 2000 version of this article, see 216218.



SYMPTOMS
If you use the Upsizing Wizard to upsize the tables in a Microsoft Access database in which any table or query name contains an apostrophe ('), none of the tables are upsized.



RESOLUTION
Change the name of the table or the query so that it does not contain an apostrophe, and then repeat the upsizing process.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



Steps to Reproduce the Behavior
 In Windows Explorer, make a copy of the sample database Northwind.mdb. Name the new database NWTest.mdb. Open NWTest.mdb and add an apostrophe to the name of any query. For example, change

Sales by Year

to:

Sales by Year'

 On the Tools menu, point to Database Utilities, and then click Upsizing Wizard. On the first page of the Upsizing Wizard, click Create New database, and then click Next. On the next page, provide the name of a server to which you want to upsize your database as well as an appropriate Login ID and Password. Use the database name suggested by the wizard. Click Next.</li> On the next page on which you are asked to choose the tables that you want to upsize, click the double-arrow button >>. After doing so, note that all tables are included in the list of objects to be upsized.</li> Click Next, and then click Finish.

When the process is finished, the upsizing report appears.</li> Scroll through the report and note that each table has been skipped.</li></ol>

<div class="references_section">