ACC2000: Error Using Database Documenter If Objects Are Open

ID: Q207782


The information in this article applies to:

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

This article applies only to a Microsoft Access database (.mdb).


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.

If you have a query open in either Datasheet or Design view when you document it with the Documenter, you receive the following error:

Invalid procedure call or argument
If you have a form open in either Form or Datasheet view when you document it with the Documenter, you may 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.


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 the Documenter dialog box, click the Queries tab.


  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, click Microsoft Access Help on the Help menu, type "view, print, output, or save the design characteristics of database objects" in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

Additional query words: prb


Keywords          : kberrmsg kbdta 
Version           : WINDOWS:2000
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: May 13, 1999