Attach a menu or toolbar to a form or report

Microsoft Office Access 2003

Once attached, the custom menu bar replaces the built-in menu bar for the form or report.

  1. Create the menu bar.

    ShowHow?

    1. On the View menu, point to Toolbars, and then click Customize.
    2. On the Toolbars tab, click New.
    3. In the Toolbar Name box, type the name you want, and then click OK.

      The new menu bar is now placed next to the Customize dialog box.

    4. On the Toolbars tab, click Properties.
    5. In the Type list, click Menu Bar.
    6. Set any other properties you want, and then click Close.
    7. To complete the menu bar, add custom menus or built-in menus.

    Note  You can attach the custom menu bar to a form or report or you can designate the bar as the global menu bar.

  2. Open the form or report in Design view.
  3. Click the form selector or report selector.
  4. On the Form Design or Report Design toolbar, click Properties Button image.
  5. In the MenuBar property box, specify the menu bar name.

    Repeat this procedure for each form or report you want to attach the menu bar to.

Repeat this procedure for each form or report you want to attach the menu bar to.

ShowAttach a custom toolbar to a form or report

Once attached, the toolbar replaces the built-in toolbar for the form or report.

  1. Create the toolbar.

    ShowHow?

    1. On the View menu, point to Toolbars, and then click Customize.
    2. On the Toolbars tab, click New.
    3. In the Toolbar name box, type the name you want, and then click OK.
    4. Click the Commands tab.
    5. Do one of the following:

      ShowAdd a button to the toolbar

      1. Click a category in the Categories box.
      2. Drag the command you want from the Commands box to the displayed toolbar.

      ShowAdd a built-in menu to the toolbar

      1. In the Categories box, click Built-in Menus.
      2. Drag the menu you want from the Commands box to the displayed toolbar.
    6. When you have added all the buttons and menus you want, click Close.

    Note  Custom toolbars that you create are specific to the Access data file. If you want to use a custom toolbar in a different Access data file, you must re-create or import the custom toolbar.

  2. Open the form or report in Design view.
  3. Click the form selector or report selector in Design view.
  4. On the toolbar, click Properties Button image.
  5. In the Toolbar property box, specify the toolbar name.

    Repeat this procedure for each form or report you want to attach the toolbar to.

Repeat this procedure for each form or report you want to attach the toolbar to.

ShowAttach a shortcut menu to a form, form control, or report

Once attached, the shortcut menu replaces the built-in shortcut menu for a form, a control, or a report.

  1. Create the shortcut menu.

    ShowHow?

    1. On the View menu, point to Toolbars, and then click Customize.
    2. On the Toolbars tab, click New.
    3. In the Toolbar Name box, type the name you want, and then click OK.
    4. On the Toolbars tab, click Properties.
    5. In the Type list, click Popup.
    6. Set the AllowCustomizing property the way you want, and then click Close.

      Microsoft Access adds the shortcut menu to the Shortcut Menus toolbar, from which you customize all shortcut menus.

    7. In the Toolbars box on the Toolbars tab, click Shortcut Menus.
    8. On the Shortcut Menus toolbar, click the Custom category.
    9. To complete the menu, add commands from the Customize dialog box and move or copy commands from other menus.

    Note  You can attach the custom shortcut menu to a form, report, or control, or designate the menu as the global shortcut menu.

  2. Open the form or report in Design view.
  3. Click the form selector, report selector, or control in Design view.
  4. On the toolbar, click Properties Button image.
  5. In the ShortcutMenuBar property box, specify the shortcut menu name.

    For a form, also make sure the ShortcutMenu property is set to Yes.

    Repeat this procedure for each form, report, or control you want to attach the shortcut menu to.

Repeat this procedure for each form, report, or control you want to attach the shortcut menu to.