ACC: Error Generated When You Rename a File

Last reviewed: May 7, 1997
Article ID: Q96999
The information in this article applies to:
  • Microsoft Access versions 1.0, 1.1, 2.0, 7.0

SYMPTOMS

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

When you try to rename a file in Microsoft Access, you may receive the following error message:

   Not a valid document name:''

   -or-

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

CAUSE

In Microsoft Access for Windows 95 version 7.0:

When you have a Database window open and click Rename on the Edit menu, but do not enter a name for the selected object, pressing ENTER will generate the following error message:

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

In Microsoft Access 1.x and 2.0:

Dialog boxes that are provided with Windows disable the OK button if an expected entry is not made. This particular dialog box is not provided by Windows. Microsoft Access does not disable the OK button in this dialog box when there is no entry in the field. If you click the OK button without entering a name, you will receive the following error message:

   Not a valid document name:''

RESOLUTION

You must enter a new name for the object.

STATUS

This behavior is by design.

REFERENCES

For more information about renaming files in Microsoft Access, search on the phrase "Rename action" using the Microsoft Access for Windows 95 Help Index.


Keywords : kberrmsg kbui UifOthr
Version : 1.0 1.1 2.0 7.0
Platform : WINDOWS
Hardware : X86
Issue type : kbprb
Resolution Type : Info_Provided


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 7, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.