ACC2000: Problems You May See When Naming Data Access Pages

ID: Q201852


The information in this article applies to:
  • Microsoft Access 2000

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

This article applies to a Microsoft Access database (.mdb) and 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 '<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.


MORE INFORMATION

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.


  5. Select the data access page, _abc.


  6. On the File menu, click Save As.


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



REFERENCES

For additional information about naming data access pages, please see the following article in the Microsoft Knowledge Base:

Q198765 ACC2000: Renaming a Data Access Page Only Renames the Shortcut.

Additional query words: DAP prb page file

Keywords : kbdta AccDAP DAPProb
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: July 8, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.