ACC: How to Change the Font for the Zoom Box

Last reviewed: May 14, 1997
Article ID: Q96996
The information in this article applies to:
  • Microsoft Access versions 1.0, 1.1, 2.0

SUMMARY

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

This article describes how to modify the system UTILITY.MDA database to change the default font used in the Zoom box of Microsoft Access.

MORE INFORMATION

To change the font for the Zoom box, do the following:

  1. Before you open Microsoft Access, copy the UTILITY.MDA file to MYUTIL.MDA. The UTILITY.MDA file is generally stored in your Microsoft Access directory.

  2. Start Microsoft Access. From the File menu, choose Open Database, select MYUTIL.MDA, and choose the OK button.

    NOTE: When you open this database, you are prompted to choose the OK button in response to several error messages. These errors are caused by duplicate modules loaded from the UTILITY.MDA database. The messages will be similar to the following:

          Tried to load module with duplicate procedure definition: BuilderZoom
    

  3. In Design view, open the ZoomForm form. Select the unbound text box control Zoom, and change the following properties to the ones noted below or to a font of your choice.

          FontName:    Microsoft Sans Serif
          FontSize:    12
          FontWeight:  Semi-bold
    
       NOTE: Select a font and a size that suit your needs.
    
    

  4. Close the database and save your changes to the ZoomForm form. Exit Microsoft Access.

  5. In version 1.x, use any ASCII text editor, such as NOTEPAD.EXE, to modify the MSACCESS.INI file in your Windows directory. In version 2.0, you should modify the MSACC20.INI file in your Windows directory.

        Change the following line in your [Options] section from
    

          [Options]
          UtilityDB=C:\ACCESS\UTILITY.MDA
    

          -to-
    

          [Options]
          ;UtilityDB=C:\ACCESS\UTILITY.MDA
    

        Add a new line so the section reads:
    

          [Options]
          ;UtilityDB=C:\ACCESS\UTILITY.MDA
          UtilityDB=C:\ACCESS\MYUTIL.MDA
    

  6. Save the MSACCESS.INI file or MSACC20.INI file.

When you next start Microsoft Access and use the Zoom box for editing, the font, size, and weight reflect the changes you made.


Additional query words: zoombox font expressions editing
Keywords : GnlDe kbusage
Version : 1.0 1.1 2.0
Platform : WINDOWS
Hardware : X86
Issue type : kbhowto


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.

Last reviewed: May 14, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.