ACC: Error Using Database Documenter If Objects Are Open (166290)



The information in this article applies to:

  • Microsoft Access for Windows 95 7.0
  • Microsoft Access 97

This article was previously published under Q166290
Novice: Requires knowledge of the user interface on single-user computers.

SYMPTOMS

When you use the Documenter Wizard in a Microsoft Access database, some objects that are open may produce an error if 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:

164240 ACC97: Error Messages Running DB Documenter or Table Analyzer

Modification Type:MajorLast Reviewed:10/22/2003
Keywords:kberrmsg kbprb KB166290