Access Report Prints Form Instead — Seeking Insights from the Community

Phillip Bridgeman 0 Reputation points
2025-06-12T18:03:35.4266667+00:00

Hi everyone,

I'm hoping someone here can shed light on a frustrating issue we've been facing with Microsoft Access. We have a database where users click a button on a form (labelled “Delivery Sheet”) to open a report in Print Preview mode. The report displays correctly in a new tab, but when users click the Print button in the ribbon, it prints the form instead of the report, even though the report is visibly in front.

Here's what we've tried so far:

  • The embedded macro behind the button uses OpenReport (Print Preview) followed by SelectObject to set the focus on the report

We've tested adding Maximize as a macro action between OpenReport and SelectObject

  • The issue persists even after updating the Brother printer driver, repairing Office/Access, and verifying that other Office apps print fine.
  • Pressing Ctrl + P from the report preview prints the correct report, every time

Selecting the specific printer manually also works

Switching to “Use Default Printer” in Page Setup works inconsistently

From what we can tell, it seems like Access still considers the form to be the active object when using the ribbon Print button, even if the report is in preview mode.

Has anyone run into this issue before?

Are there more reliable ways to ensure report focus when using macros?

Would switching to overlapping windows mode solve the issue reliably?

Is there a VBA-free workaround that works 100% of the time?

  • Should we train users to always use Ctrl + P or bypass preview with direct printing?

Any insights, workarounds, or lessons learned would be appreciated. I appreciate any help you can provide.

Microsoft 365 and Office | Access | Development
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. DBG 11,381 Reputation points Volunteer Moderator
    2025-06-12T18:07:40.7766667+00:00

    Do you really need to "preview" the report before printing it? What happens if you change your macro to print the report straight to the printer without previewing it? That would eliminate the need for the Select Object macro action. Just a thought...

    0 comments No comments

  2. Albert Kallal 5,586 Reputation points
    2025-06-12T20:07:14.5366667+00:00

    Do you have a form with a timer running in the background?

    If yes, then often what will occur is for a "very" short time, when the form with the timer runs, then that becomes the selected form, and thus any print operations will print the form, and not the report you are viewing. However, while the above is just a suggestion to check, it does not appear to be your current case.

    Next up:

    Is the report set as modal? You could try removing that, and since a new tab opens, then that suggests that you not set the report as popup. However, if you did set report as "popup" (you find this setting in the other tab of the property sheet), then I suspect that this would fix your issue. Also, is the form that has the button to launch the form, is this a popup form, or simply a form opened that appears as a new tab?

    If acceptable, I would try the report as popup, and see if that works for you, and is a ok "UI" change for your users....

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.