This article was previously published under Q207782
This article has been archived. It is offered "as is" and will no longer be updated.
Novice: Requires knowledge of the user interface on single-user computers.
This article applies only to a Microsoft Access database (.mdb).
When you use the Documenter Wizard in a Microsoft Access database, someobjects 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 remainingobjects it is able to document.
Before you use the Documenter Wizard, close all open objects in thedatabase.
Steps to Reproduce Behavior
Start Microsoft Access and open the sample database Northwind.mdb.
Open the Invoices query in Datasheet view.
On the Tools menu, point to Analyze, and then click Documenter.
In the Documenter dialog box, click the Queries tab.
Click the Invoices query, and then click OK. Note the error messages you receive. Click No when prompted if you want to continue.
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.