Microsoft 365 Error Codes

How to Fix Access ZoomBox Error 2046 for Images in a Subform

Olivia MillerOlivia Miller Oct 15, 2026 868 views

Question details

The user needs to resolve run-time error 2046 triggered when using the ZoomBox command (or Shift+F2) on an image control embedded within a Microsoft Access subform.

How to Fix Access ZoomBox Error 2046 for Images in a Subform
Product
Microsoft Access
Device & OS
not provided
Scenario
Using the DoCmd.RunCommand acCmdZoomBox or SendKeys "+{F2}" on an image control displayed within an embedded subform.
Observed behavior
Access returns run-time error 2046 indicating the ZoomBox command isn't available for the image control inside the subform, causing the image to appear distorted or failing to expand.
Before you start

Verify whether the ZoomBox command functions correctly when opening the subform independently as a standalone form before applying layout changes to the main database structure.

Solution 1Recommended

Enlarge Form Layout and Adjust Image Size Mode

Bypass the ZoomBox error by directly increasing the form's dimensions and optimizing the image control's size mode to prevent distortion.

Since the ZoomBox command is inherently unavailable for image controls embedded within subforms, modifying the form layout to display the image at the desired size permanently is the most reliable and user-friendly solution.

1
Open form in Design View

Right-click your main form in the Microsoft Access Navigation Pane and select 'Design View'.

2
Increase subform space

Click and drag the outer boundaries of the subform control to increase the available display space on the main form layout.

3
Adjust image control dimensions

Open the subform independently in Design View, then expand the boundaries of the image control to fit the newly allocated space.

4
Modify Size Mode property

Select the image control, open the Property Sheet by pressing F4, navigate to the Format tab, and change the 'Size Mode' to 'Zoom'.

Enlarge Form Layout and Adjust Image Size Mode
Distortion Fixed: Setting the Size Mode to 'Zoom' ensures the image scales proportionally without stretching, squashing, or cropping out important details.
Free Microsoft Office alternative

Looking for a Lightweight Alternative to Microsoft Office?

While WPS Office does not include a direct database replacement for Microsoft Access, it serves as a highly compatible, free, and lightweight alternative for your daily word processing, spreadsheet, and presentation needs.

  1. 1. Download the installer: Visit the official WPS Office website and download the free installation package.
  2. 2. Install WPS Office: Run the setup file and follow the straightforward on-screen instructions to install the suite.
  3. 3. Manage data easily: Launch WPS Spreadsheet to organize, analyze, and manage your list-based data effectively without needing complex databases.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Lightweight design that consumes minimal system resources and runs smoothly on older devices.Familiar, tabbed user interface that requires zero learning curve for seamless migration from MS Office.
microsoft office alternative - wps office

Frequently Asked Questions

What causes run-time error 2046 in Microsoft Access?

Run-time error 2046 occurs when a command or action you are trying to run is not currently available in the active context. In subforms, commands like ZoomBox are frequently disabled by Access because the embedded object environment doesn't support the action.

Can I use the ZoomBox command (Shift+F2) on any database field?

The ZoomBox command is specifically designed for text or memo fields to allow users to view or edit large amounts of text in a pop-up window. Using it on an image control, especially within a restricted subform context, often triggers unavailability errors.

How do I fix image distortion in Access forms?

To fix image distortion, select the image control while in Design View, open the Property Sheet (F4), and change the 'Size Mode' property located under the Format tab to 'Zoom'. This forces the image to maintain its original aspect ratio.

Is there a way to pop out an image from a subform without using ZoomBox?

Yes. You can design a separate, standalone form that contains a much larger version of the image control. You can then add an On Click event to the image thumbnail in the subform that uses a VBA macro (DoCmd.OpenForm) to open the larger standalone form.