Make Microsoft Access Report Labels and Controls Shrink Automatically
Question details
Make blank fields and their labels disappear from an Access report so remaining fields can move upward.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- A report includes optional fields such as Cell and Email, with labels beside their text boxes.
- Observed behavior
- A blank field and its label leave space in the report instead of allowing the following field to move up.
Open the report in Design View and identify the text box and label names in the Property Sheet. Check that optional fields are arranged in separate rows, with no overlapping controls or unnecessary vertical gaps.
Enable Can Shrink for text boxes and the Detail section
Use this setting to let empty text boxes and their containing section take up less vertical space.
In the Navigation Pane, right-click the report and select Design View. Open the Property Sheet if it is not already visible.
Select an optional field's text box, such as Cell. On the Property Sheet's Format tab, set Can Shrink to Yes. Repeat for other text boxes that may be blank.
Select the Detail section using its section bar. In the Property Sheet, set Can Shrink to Yes.
Arrange the field rows without vertical gaps or overlapping controls, then open Print Preview and check a record with a blank field. Other controls in the same vertical area can prevent the space from collapsing.

Hide a field label when its value is blank
Use a Detail section Format event to hide a label for records whose corresponding field is empty.
Use WPS Office for documents and spreadsheets alongside Access
WPS Office is a free, lightweight alternative for everyday office work, with a familiar interface and compatibility that makes moving documents and spreadsheets easier. It does not edit Access databases or fix Access report settings.

Frequently Asked Questions
Why is there still a gap after I enable Can Shrink?
Check Can Shrink on both the text box and the Detail section in Design View. A visible label, another control in the same vertical area, or gaps in the layout can prevent the row from collapsing.
Does Can Shrink automatically hide an Access report label?
No. Can Shrink applies to the text box, not its label. You can use the Detail section's On Format event to set the label's Visible property based on whether the field is blank.
Where can I test the label visibility code?
Open the report in Print Preview and check records with both blank and populated values. The Detail section's Format event is used for printing and Print Preview, not Report View.
Can WPS Office change the Can Shrink setting in an Access report?
No. Change Access report properties in Microsoft Access. WPS Office can work with office files such as DOCX and XLSX, but it is not an editor for Access databases or reports.




