ACC2000: Parameter Prompt If LinkMasterFields or LinkChildFields Contains Table Name (207662)
The information in this article applies to:
This article was previously published under Q207662 This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
When you open a form that contains a subform or a report that contains a
subreport, you may receive an unexpected prompt to enter a parameter value.
CAUSE
The LinkMasterFields or LinkChildFields property of the subform or subreport contains a reference to the underlying table or query. This table or query could be the record source of the main form, the main report, the subform, or the subreport. The property's value is in the format
Because the reference to the table or query underlying the form or report
is implied, it is not necessary to include the table or query name in the
LinkMasterFields or LinkChildFields property.
RESOLUTION
Use one of the following resolutions to correct the behavior of the form or
report:
- Do not refer to the underlying table or query in the LinkMasterFields or LinkChildFields property.
-or-
- Refer to a control name on the main form or report that contains the
appropriate value for the link criteria.
REFERENCESFor more information about linking main forms and subforms or main reports and subreports, click Microsoft Access Help on the
Help menu, type LinkChildFields, LinkMasterFields Properties in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
Modification Type: | Major | Last Reviewed: | 6/28/2004 |
---|
Keywords: | kbprb KB207662 |
---|
|