Hide menu bars on form startup

  • Thread starter Thread starter jmassry
  • Start date Start date
J

jmassry

Hi,

I need to hide "system menu bar" on startup form so users
cannot see tables/forms/queries, the system itself has the
permission setup but I don't want users to view the code
behind the forms... how can I achieve that?

jmassry
 
Backup your database; you can easily lock yourself out playing around with
these features.

Create custom menus/toolbars for use throughout your application.
Create a startup form (a main menu form if you have one) that is opened on
startup.
Use the features in Tools, Startup to
set the startup form
set your default menu (the custom one you made)
disable all the checkboxes about allowing built in menus, toolbars,
changes etc.
hide the db window (ensure the custom menu you create does not
include the Windows, Unhide item
Click on the Advanced button and uncheck the allow special keys
(this will disable the F11 key, among others)

You can also create a MDE from your database, which will prevent changes to
forms, reports and modules (If you do this, be certain to keep your original
mdb in case you need to make changes).
 
Back
Top