Microsoft KB Archive/201852

= ACC2000: Problems You May See When Naming Data Access Pages =

Article ID: 201852

Article Last Modified on 7/15/2004

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



This article was previously published under Q201852



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

This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).



SYMPTOMS
You may notice one or more of the following behaviors with the name of a data access page:

The name of a page in the Database window may be different from what you typed in the Save As dialog box.

-or-

The name of the page in the Database window and the associated HTML file have different names.

-or-

You may receive the following message when you type a similar name or the same name that you originally typed in the Save As dialog box:

The object name ' ' you entered doesn't follow Microsoft Access object-naming rules.



CAUSE
The first time that you save a page, the file name that you supply is for the HTML file. Microsoft Access then uses the name of the HTML file to create the name of the shortcut to this HTML file that will appear in the Database window. If any character is not valid for the name of a page shortcut in Access, that character is automatically changed to an underscore (_).



RESOLUTION
To avoid this behavior, only use names that contain valid characters for Access objects.

For more information about valid naming conventions, click Microsoft Access Help on the Help menu, type guidelines for naming objects in the Office Assistant or the Answer Wizard, and then click Search to view the topic.



Steps to Reproduce Behavior

 * 1) In the Database window, click Pages under Objects, and then click New.
 * 2) In the New Data Access Page dialog box, click Design View, and then click OK.
 * 3) On the File menu, click Save.
 * 4) In the File name box type =abc, and then click Save.

Note that in the Database window and the title bar of the page, the name of the new page is _abc, but the HTML file name is =abc.
 * 1) Select the data access page, _abc.
 * 2) On the File menu, click Save As.
 * 3) In the Save Data Access Page '_abc' To box, type =def . Click OK.

Note that you receive the message mentioned in the "Symptoms" section of this article.

