ACC: Detail Section Blank When Form Is Printed or Previewed
Article ID: 117172
Article Last Modified on 1/19/2007
APPLIES TO
- Microsoft Access 1.0 Standard Edition
- Microsoft Access 1.1 Standard Edition
- Microsoft Access 2.0 Standard Edition
- Microsoft Access 95 Standard Edition
- Microsoft Access 97 Standard Edition
This article was previously published under Q117172
Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
When you print or preview a form, the detail section of the form is blank,
even though controls are visible in the detail section when you view the
form in Form view. Other sections, such as the form header and form footer,
appear correctly when you print or preview the form.
CAUSE
This behavior occurs if the form's underlying table or query returns no
records, or if the detail section's DisplayWhen property is set to Screen
Only.
RESOLUTION
To resolve this behavior, do one of the following:
- Make sure the underlying table or query returns at least one record.
- Save the form as a report and print/preview the report.
- Place necessary controls in other sections, for example, in the form header or in form footer.
If the
DisplayWhen property of the detail section is set to
Screen Only, change it to
Always or
Print Only.
REFERENCES
For more information search for "DisplayWhen Property" using the Microsoft
Access 97 Help Index.
Additional query words: missing fields
Keywords: kbprb kbusage KB117172