Toolbar Property
Applies To
Form, Report.
Description
You can use the Toolbar property to specify the toolbar to use for a form or report. You create these toolbars by using the Customize subcommand of the Toolbars command on the View menu.
Setting
The Toolbar property setting is the name of the custom toolbar you want to display. If you leave the Toolbar property setting blank, Microsoft Access displays the form's or report's built-in (default) toolbar.
You can set the Toolbar property by using the form's or report's property sheet, a macro, or Visual Basic.
In Visual Basic, set this property by using a string expression that's the name of the toolbar you want to display.
To display the built-in toolbar for a form or report by using a macro or Visual Basic, set the Toolbar property to a zero-length string (" ").
Remarks
When you set the Toolbar property, Microsoft Access displays the specified custom toolbar when the form or report is opened. This toolbar is displayed whenever the form or report has the focus.