Lock Menu Form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do you lock a form so it can't be minimized and disable the tool bars and F10 so the user can't access the behind the sceens working of the database tables, queries etc. The only functions for the user are the command buttons on the Form.
 
Tools > Startup. For the results you requested, uncheck all boxes on that
screen and choose the menu as your startup form.

Open your form, view the form properties, format tab, and set MIN MAX
BUTTONS to none and CLOSE BUTTON to no

When done creating database (BACKUP BEFORE DOING THIS) search help for
AllowBypassKey.. use the example code and set allowbypasskey to false.

-Kevin

Steve said:
How do you lock a form so it can't be minimized and disable the tool bars
and F10 so the user can't access the behind the sceens working of the
database tables, queries etc. The only functions for the user are the
command buttons on the Form.
 
Oh forgot one thing.... to get access to the database, hold down shift when
it starts. Once you set allowbypasskey to false and make an MDE, your
database should be uneditable.
 
Back
Top