Removing toolbar when app starts

F

Fredrated

How do I go about removing this toolbar when my app starts?
The one I don't want to show is the toolbar with the following:
A->Z, z->A, spell-check, search binoculars, undo, |<, >|, etc.

In tools>startup, everything is unchecked except 'Allow default shortcut
menus' and 'Use Access special keys'.

Funny thing is, I have another app which does not start with that toolbar,
and I can't figure out how i did it!

Thanks

Fred
 
R

Ron2006

There are two things that can come into play here.

1) You can use the following to turn them off

DoCmd.ShowToolbar "Blank Menu Bar", acToolbarNo


2) Secondly, when you go into any form and are at the point of saving
the form you want to be sure to turn OFF any and all menu bars that
you do NOT want to show. This is particularly true if you issue the
showtoolbar command above.
If you have a menu bar open and save the form, Access wants to and
will open it up when it calls the form. However if you then issue the
showtoolbar command to close the menubar, then the form will usually
"Jump" up on the screen.

The same sort of thing can happen when some forms have some menu bars
showing and others don't (depending on what was open when the form was
saved after editing the form.)

Ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top