ACC: Error Using Database Documenter If Objects Are Open

Last reviewed: April 17, 1997
Article ID: Q166290
The information in this article applies to:
  • Microsoft Access versions 7.0, 97

SYMPTOMS

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

When you use the Documenter Wizard in a Microsoft Access database, some objects may produce an error if they are open when you try to document them.

NOTE: The Documenter Wizard is called the Documentor Wizard in Microsoft Access 7.0.

In Microsoft Access 7.0 and 97, if you have a query open in either Datasheet or Design view when you document it with the Documenter, you receive the following error:

   In Microsoft Access 97:

      Invalid procedure call or argument

   In Microsoft Access 7.0:

      Invalid procedure call

In Microsoft Access 97, if you have a form open in either Form or Datasheet view when you document it with the Documenter, you receive the following error. You may also receive this error if the Relationships window is open when you try to document a form:

   Application-defined or object-defined error

These error messages are followed by another message:

   Unable to document <Object Type> '<Object Name>'. Continue?

If you click Yes to continue the Documenter, it proceeds with the remaining objects it is able to document.

In Microsoft Access 7.0, if you try to document any object when the Relationships window is open, you receive this error:

   The command or action 'CopyObject' isn't available now.

In Microsoft Access 97, if you try to document a module when the Relationships window is open, you receive the following error:

   The command or action 'OutputTo' isn't available now.

RESOLUTION

Before you use the Documenter Wizard, close all open objects in the database.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Start Microsoft Access and open the sample database Northwind.mdb.

  2. Open the Invoices query in Datasheet view.

  3. On the Tools menu, point to Analyze, and then click Documenter.

  4. In Microsoft Access 97, in the Documenter dialog box, click the Queries tab.

    In Microsoft Access 7.0, in the Database Documenter dialog box, select Queries in the Object Type box.

  5. Click the Invoices query, and then click OK. Note the error messages you receive. Click No when prompted if you want to continue.

REFERENCES

For more information about using the Documenter, search the Help Index for "Database Documenter."

For more information about issues using the Database Documenter, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q164240
   TITLE     : ACC97: Error Messages Running DB Documenter or Table
               Analyzer
 

	
	


Keywords : DcmOthr kberrmsg
Version : 7.0 97
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: April 17, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.