ACC: How to Change the Font for the Zoom Box (96996)



The information in this article applies to:

  • Microsoft Access 1.0
  • Microsoft Access 1.1
  • Microsoft Access 2.0

This article was previously published under Q96996
Moderate: Requires basic macro, coding, and interoperability skills.

SUMMARY

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.

Modification Type:MajorLast Reviewed:5/9/2003
Keywords:kbhowto kbusage KB96996