ACC: Filtering Form with OpenForm Action Causes "#Name?" ErrorLast reviewed: May 28, 1997Article ID: Q102670 |
The information in this article applies to:
SYMPTOMSNovice: Requires knowledge of the user interface on single-user computers. A form that is opened with an OpenForm action that specifies a query for the Filter Name argument, may display a "#Name?" error message for some controls.
CAUSEWhen a query is specified as the filter for the OpenForm action, the form is bound to the fields in the query. If the form contains controls bound to fields that are not included in the query, those controls display the "#Name?" error message.
RESOLUTIONSwitch to Design view and either change the query so that it contains all the fields used in the form or clear the Restrict Available Fields check box.
MORE INFORMATIONA similar behavior may occur with a report that is filtered by a query that does not contain all the same fields. The report gives parameter prompts for all fields not included in the query.
Steps to Reproduce Behavior
Workaround
STATUSThis behavior no longer occurs in Microsoft Access version 7.0.
REFERENCESMicrosoft Access "User's Guide," versions 1.0 and 1.1, pages 532-534, 558
|
Additional query words: poundname
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |