Microsoft KB Archive/103175

{|
 * width="100%"|

PRB: Zoom Box Does Not Appear When SHIFT+F2 Is Pressed (2.0)
'Article ID: Q103175

Creation Date: 18-AUG-1993

Revision Date: 19-SEP-1996' The information in this article applies to:


 * Microsoft Access versions 1.0, 1.1, 2.0

SYMPTOMS

Moderate: Requires basic macro, coding, and interoperability skills.

Pressing SHIFT+F2 does not bring up a zoom box. In Microsoft Access, pressing SHIFT+F2 should display the expression zoom box for easy viewing and editing of expressions.

You may see one of the following error messages:

A run-time error occurred in database: utility. You don't have permission to view modules in this database

Access Basic Compile Error. View Error in Context? CAUSE

Possible causes for this problem include:


 * Low system resources within Microsoft Windows
 * A damaged .LDB file
 * A syntax error (also called a compile error) in any database module

RESOLUTION

Low System Resources

To free up system resources, close as many running applications as possible. Note that some applications and drivers return fewer resources to Microsoft Windows when they close than they originally requested. Over time, this behavior can cause a low system resources. In these cases, you may need to restart Microsoft Windows in order to refresh system resources.

To check Microsoft Windows system resources while running Microsoft Access, press CTRL+ESC, and then select Program Manager from the Task List dialog box. From the Help menu, choose About Program Manager. The About Program Manager dialog box will display the amount of available system resources.

Damaged .LDB File

Microsoft Access may generate an .LDB file for a database. The .LDB file maintains lock information about the database. Occasionally, this file becomes damaged and causes problems that include preventing the zoom box from appearing. If you suspect the .LDB file of being damaged, close the database, and then delete the associated .LDB file. The .LDB file will be named .LDB, where  is the same name as the database. Microsoft Access will create a new .LDB file for the database if necessary.

Syntax Errors in Modules

The zoom box is a Microsoft Access form, coded in Access Basic. Microsoft Access will not run any code if the compiler contains syntax errors. If you suspect that a module may contain syntax errors, try compiling the code in a Microsoft Access module to find the errors. In Microsoft Access version 2.0, you will receive the error message

Access Basic Compile Error. View Error in Context? when you try to bring up the zoom box.
 * }

-

"THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED 'AS IS' WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY." '' ©1997 Microsoft Corporation. All rights reserved. Legal Notices.

''

Additional reference words: 1.00 1.10 2.00

KBCategory: kbusage kberrmsg

KBSubcategory: ExrOthr