Microsoft KB Archive/216218

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

Article ID: 216218

Article Last Modified on 1/26/2005

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



This article was previously published under Q216218



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

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

For a Microsoft Access 2002 version of this article, see 294398.



SYMPTOMS
If you use the Upsizing Wizard to upsize 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 query so that it does not have an apostrophe and repeat the upsizing process.



Steps to Reproduce 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 screen of the Upsizing Wizard, select Create New database, and then click Next. On the next screen, 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. On the following screen, where you 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 down the report and note that each table has been skipped.</li></ol>

<div class="references_section">