Document Editing Problems

Fix Access Report Header Field Not Displaying in Preview

Rana GarciaRana Garcia Nov 2, 2026 869 views

Question details

An unbound field in a Microsoft Access report header does not display in the normal preview mode.

Fix Access Report Header Field Not Displaying in Preview
Product
Microsoft Access
Device & OS
not provided
Scenario
A user is previewing an Access report after assigning an unbound field and modifying the OrderBy and Filter properties during the report's On Load event.
Observed behavior
The unbound field populated during the On Load event appears successfully while debugging but fails to render in the normal report preview output.
Before you start

Verify which event properties, such as On Load or On Format, currently contain the VBA logic for your unbound fields, sorting, and filtering operations.

Solution 1Recommended

Pass Filter and Sort Parameters via DoCmd.OpenReport

Move the OrderBy and Filter property changes from the report's On Load event to the calling form to ensure the report renders properly.

Changing sorting and filtering logic directly inside a report's On Load event can interrupt the rendering cycle, causing unbound fields to disappear in the preview window. The best practice is to pass these values when calling the report.

1
Locate the Calling Form

Open your Microsoft Access database, navigate to the calling form in Design View, and open the VBA code or macro associated with the button that opens the report.

2
Remove Logic from On Load

Open the report in Design View, navigate to the Event tab in the Property Sheet, and remove the OrderBy and Filter assignments from the On Load event.

3
Pass Parameters in OpenReport

In the calling form's VBA code, pass your sorting and filtering values directly through the WhereCondition or OpenArgs parameters of the DoCmd.OpenReport method.

Pass Filter and Sort Parameters via DoCmd.OpenReport
Best Practice: Passing parameters before the report officially loads ensures that the formatting engine processes unbound fields smoothly.
Free Microsoft Office alternative

Switch to WPS Office for a Seamless, Lightweight Experience

While Microsoft Access is built for complex database management, your everyday document, spreadsheet, and presentation needs can be handled much more efficiently with WPS Office. It's a free, lightweight suite that fully supports Microsoft Office formats and provides a familiar user interface to maximize your productivity.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package tailored for your operating system.
  2. 2. Install the Software: Run the installer and follow the simple on-screen instructions to complete the setup process in seconds.
  3. 3. Open Office Files Seamlessly: Launch WPS Office and directly open your existing Word, Excel, or PowerPoint files without losing any of your original formatting.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Lightweight installation ensures fast loading times and minimal system resource usage.Familiar, tabbed user interface allows you to start working immediately without a steep learning curve.Built-in PDF toolkit for easy viewing, editing, and converting of your everyday documents.
microsoft office alternative - wps office

Frequently Asked Questions

Why do unbound fields show up in Access debug mode but not in preview?

During debugging, the report's rendering sequence pauses, giving the system time to display fields populated in the On Load event. In normal preview, modifying properties like OrderBy and Filter simultaneously interrupts the rendering cycle, causing the field to remain blank.

What is the difference between On Load and On Format in Access reports?

The On Load event triggers once when the report is first opened but before the layout is finalized. The On Format event triggers for each section as Access processes the layout for printing or previewing, making it the most reliable place to assign dynamic unbound values.

Can I use macros instead of VBA to pass report filters?

Yes, you can use the OpenReport macro action. It provides dedicated fields for the 'Where Condition' and 'Filter Name' arguments, allowing you to pass filter parameters smoothly without needing to write any VBA code.