
Originally Posted by
Toyman
First do not let your user have direct access to tables and queries. You don't have any control on what they do with the records. Always let your users access the db records via forms or report. In forms and reports, you can set the properties to restrict how the records are accessed. With that said. A switchboard is nothing more than a form containing buttons or other db object you set to navagate to other forms or report which your users can access. Access provides a switchboard wizzard to help you create a basic switchboard or you can create one with codes or macros.
As stated earlier, do not let your user access the records directly from tables or queries. Instead, create forms and reports for their use. For example, lets say I have a table containing Personnel Information, and I want the user to access Personnel information. I would create a form bound to a query of the Personnel table. In this form, I can lock the fields so that the users cannot change the data or I can unlock the fields to allow certain people the ability to change the data; I have control over the use of the data in a form and not in a table.
Once you set up your Personnel form, you simply create a command button in the switchboard form which will open the Personnel form. In the main options setting of the db window, select "Current Database". In this window, you can set it so that the Switchboard form is the form to open once the database is access. In the same window, you can set other setting such as hiding the db window to prevent user from access the db objects. Finally, before you deploy your db, disable the AllowByPassKey setting. This will prevent your user from using the Shift+Open to access the db window. Search the phrase, "AllowByPassKey" in the forum or google and you will find directions on how to disable this. Good luck....