Custom Toolbars in Forms

S

Sheila

Hi

I have a custom I would like displayed in all forms - is there a generic command I can put somewhere for this or do I need to set the toolbar in each form individually

Thanks in advance for any hel

Sheila
 
S

StCyrM

Hi Sheila

In the Form_Open, place the following code

DoCmd.ShowToolbar "ToolbarName", acToolbarYes

In the Form Close, place the following code

DoCmd.ShowToolbar "ToolbarName", acToolbarNo


Maurice
 
Top