Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

ACC2000: How to Remove the Menu Bar from a Form


View products that this article applies to.

This article was previously published under Q209530
Novice: Requires knowledge of the user interface on single-user computers.

This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).

↑ Back to the top


Summary

This article describes a simple way to remove the menu bar from a form.

To remove the menu bar, type =1 (or any Visual Basic function that evaluates to a numeric result) in the MenuBar property of the form.

↑ Back to the top


More information

Entering =1 causes Microsoft Access to evaluate the property. Because there is nothing to place in the menu bar, the menu bar is not displayed.

To remove a menu bar, follow these steps:
  1. Open the form for which you want to remove a menu bar, and on the View menu, click Design View.
  2. If the property sheet is not already visible, click Properties on the View menu.
  3. In the property sheet of the form, click the Other tab.
  4. In the MenuBar property box, type =1.
  5. On the View menu, click Form View.
Note that the menu bar is not present.

↑ Back to the top


Keywords: KB209530, kbinfo, kbhowto

↑ Back to the top

Article Info
Article ID : 209530
Revision : 2
Created on : 6/24/2004
Published on : 6/24/2004
Exists online : False
Views : 283