Hiding main database screen

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

Guest

I have designed a database using switchboards to access the data entry and to
run reports. How do I make sure they don't have access to the actual tables,
etc. Maximizing the switchboard form, etc. works, but the user will most
likely have the data-entry form up at all times, along with several other
programs they are running, so will probably minimize it at times. When they
do that, the main database screen becomes visible.

Patti
 
In th "OnOpen" event of your Switchboard/MainMenu place the following code:

Private Sub Form_Open(Cancel As Integer)

DoCmd.SelectObject acTable, , True
DoCmd.RunCommand acCmdWindowHide

End Sub

HTH,
Al
 
Hi Patti

The short answer is to go to Tools>Startup... and uncheck the following
options:
Display Database Window
Allow Full Menus
Use Access Special Keys

However, this will keep out only the most benign and uncurious of users.

To lock it down better, you should consider using user-level security.
 
Better to provide them with a mde/runtime....

Pieter

Graham Mandeno said:
Hi Patti

The short answer is to go to Tools>Startup... and uncheck the following
options:
Display Database Window
Allow Full Menus
Use Access Special Keys

However, this will keep out only the most benign and uncurious of users.

To lock it down better, you should consider using user-level security.
--
Good Luck!

Graham Mandeno [Access MVP]
Auckland, New Zealand


PattiP said:
I have designed a database using switchboards to access the data entry and
to
run reports. How do I make sure they don't have access to the actual
tables,
etc. Maximizing the switchboard form, etc. works, but the user will most
likely have the data-entry form up at all times, along with several other
programs they are running, so will probably minimize it at times. When
they
do that, the main database screen becomes visible.

Patti
 
Thanks, Al!

--
Patti


Al said:
In th "OnOpen" event of your Switchboard/MainMenu place the following code:

Private Sub Form_Open(Cancel As Integer)

DoCmd.SelectObject acTable, , True
DoCmd.RunCommand acCmdWindowHide

End Sub

HTH,
Al
 

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

Similar Threads


Back
Top