logo
search
Others

How to Display a Local PDF in an Access Web Browser Control

Nimra MalikNimra Malik Oct 12, 2026 869 views

Question details

The user wants to embed and display local PDF files natively inside a Microsoft Access form, but the standard Web Browser Control is failing to display them automatically.

How to Display a Local PDF in an Access Web Browser Control
Product
Microsoft Access
Device & OS
not provided
Scenario
Attempting to view local PDF documents inline through an Access form using a stored file path or hyperlink.
Observed behavior
The standard legacy Web Browser Control remains blank and may force the local PDF file to open in an external application, such as Adobe Acrobat, instead of rendering it directly on the form.
Before you start

Ensure that the file path stored in your database points to a valid, accessible local PDF file and that your system has a default PDF viewer installed.

Solution 1Recommended

Format File Path as a Valid URL

Use proper file URI formatting to help the legacy Web Browser Control locate and handle the local PDF document correctly.

In standalone versions like Access 2021, only the legacy Web Browser Control is available. It relies on older Internet Explorer components, meaning it might still trigger an external PDF viewer depending on your system's default handler.

1
Open Form Design View

Right-click your Access form in the navigation pane and select 'Design View'.

2
Verify Data Source

Select the text box or field that stores your PDF file path. Ensure it contains the full absolute path to the document.

3
Apply File URI Format

If using VBA or an expression to pass the path to the Web Browser Control, format the local path as a URL (e.g., convert 'C:\Folder\File.pdf' to 'file:///C:/Folder/File.pdf').

4
Bind Control Source

Set the Control Source of the Web Browser Control to this newly formatted file URL and switch back to Form View to test.

Format File Path as a Valid URL
Legacy Rendering Limitation: Even with correct formatting, the standard Web Browser Control in Access 2021 may hand off the rendering to external software like Adobe Acrobat. Native inline viewing is fully supported only via the modern Edge Browser Control.
Free Microsoft Office alternative

Manage and View Your PDFs Seamlessly with WPS Office

If you are encountering limitations with Microsoft Access and the standard Office suite when managing or viewing documents, consider WPS Office. It provides a lightweight, comprehensive, and highly compatible alternative for handling PDFs, Word documents, Excel spreadsheets, and presentations—without requiring a Microsoft 365 subscription.

  1. 1. Download the Software: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Install WPS Office: Run the installer and follow the quick setup wizard to install the suite on your computer.
  3. 3. Open and Edit PDFs: Launch WPS PDF to instantly open your local PDF files, view them smoothly, and utilize advanced editing tools.
Built-in advanced PDF reader and editor for viewing and modifying local files directly.Fully compatible with Microsoft Word, Excel, and PowerPoint file formats.Lightweight installation with an intuitive, familiar tabbed interface.Free to use without mandatory, expensive subscription plans.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my PDF open in Adobe Acrobat instead of inside my Access form?

The standard Web Browser Control in standalone versions like Access 2021 relies on legacy Internet Explorer components. These outdated components often fail to render modern PDF files inline, triggering your system's default PDF handler (like Adobe Acrobat) to open the file externally instead.

Is the new Edge Browser Control available in Access 2021?

No. The modern Edge Browser Control, which natively supports displaying local PDFs, is currently available only to Microsoft 365 subscribers with supported builds. Users with standalone Access 2021 only have access to the legacy standard Web Browser Control.

How should a local file path be formatted for a browser control?

To maximize compatibility, format your local file paths using the file URI scheme. Instead of a traditional Windows path like 'C:\Documents\report.pdf', structure it as 'file:///C:/Documents/report.pdf'. This helps the underlying browser engine recognize it as a valid local web resource.