ACC: Detail Section Blank When Form Is Printed or Previewed (117172)
The information in this article applies to:
- Microsoft Access 1.0
- Microsoft Access 1.1
- Microsoft Access 2.0
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
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.
Modification Type: | Major | Last Reviewed: | 5/6/2003 |
---|
Keywords: | kbprb kbusage KB117172 |
---|
|