I have what I assume to be a newbie question: I'm creating a database that will soon be used by some others.
In order to prevent unwanted changes in the structure of the database, I open up homeform with the following code upon opening the database:
Dim i As Integer
For i = 1 To CommandBars.Count
CommandBars(i).Enabled = False
Next i
DoCmd.SelectObject acTable, , True
DoCmd.RunCommand acCmdWindowHide
DoCmd.ShowToolbar "Ribbon", acToolbarNo
However, I've noticed that users who do not accept active content of the database when opening it for the first time, simply have access to all tables, queries, ...
Is there a way to oblige users to accept active content before the database opens, shutting down the database if they do not accept it?
Or should I use a different way to prevent access beyond the forms I have created?
Any help will be appreciated. Thanks in advance!
In order to prevent unwanted changes in the structure of the database, I open up homeform with the following code upon opening the database:
Dim i As Integer
For i = 1 To CommandBars.Count
CommandBars(i).Enabled = False
Next i
DoCmd.SelectObject acTable, , True
DoCmd.RunCommand acCmdWindowHide
DoCmd.ShowToolbar "Ribbon", acToolbarNo
However, I've noticed that users who do not accept active content of the database when opening it for the first time, simply have access to all tables, queries, ...
Is there a way to oblige users to accept active content before the database opens, shutting down the database if they do not accept it?
Or should I use a different way to prevent access beyond the forms I have created?
Any help will be appreciated. Thanks in advance!