Article ID: 179832
Article Last Modified on 1/22/2007
APPLIES TO
- Microsoft Access 2.0 Standard Edition
- Microsoft Access 95 Standard Edition
- Microsoft Access 97 Standard Edition
This article was previously published under Q179832
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
Note that in Microsoft Access 2.0, this behavior occurs only when you refer
to the underlying table or query in the LinkMasterFields property.
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.
STATUS
This behavior is by design.
REFERENCES
For more information about linking main forms and subforms or main reports
and subreports, search the Help Index for "LinkMasterFields property" and
display the topic "LinkChildFields, LinkMasterFields Properties," or ask
the Office Assistant.
Additional query words: param prompts
Keywords: kbprb KB179832