ACC2000: No Prompt for Parameter Value Exporting Form with OutputTo (210607)
The information in this article applies to:
This article was previously published under Q210607 This article applies only to a Microsoft Access database (.mdb).
Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
You are not prompted to enter a parameter value when you output a form to
text if the form is bound to a query that contains an invalid form control
reference in its Criteria row. However, the text file that is created does not contain any data.
CAUSE
This behavior occurs if you use implicit form control referencing in the
query. For example:
Forms![FormName]![ControlName] RESOLUTION
To ensure that the text file that is created contains data, use explicit
form control referencing in your query, or use the Value
property of the control. For example:
- Forms![FormName].[ControlName]
-or-
- Forms![FormName]![Controlname].Value
STATUSMicrosoft has confirmed that this is a problem in Microsoft Access.
Modification Type: | Minor | Last Reviewed: | 7/15/2004 |
---|
Keywords: | kbbug kbpending KB210607 |
---|
|