I am not aware of a mechanism to import all of your permissions into a
new mdb but you can develop your own using DAO. First, create a table
to record the permissions. Your table will need fields for container
name (e.g. Tables, Forms, Reports, etc.) , document name, and one long
integer field for each of your user groups. Write one procedure that
enumerates all objects and stores the permissions for each user group
in the table. Write another procedure that reapplies the permissions
for each record in the table. Take a look at help and review the
Containers and Documents collections, and the UserName and Permissions
properties of the Document object for more information. Search the
Google groups archives for permissions and you will probably find
examples. HTH
Rick Collard
www.msc-lims.com
On 8 Dec 2003 15:56:44 -0800,
ni******@lycos.com (NB) wrote:
Hi
This has been tickling my mind for quite some time. Can someone tell
me if Access 2003 has a solution for it.
After a period of development, your front end will definitely bloat
despite all the compacting and decompiling you do. The best solution
so far I have found is to create a fresh new mdb file and import all
table (links), queries, forms, reports, menu, macros and modules. That
is great: file size shrinks and it runs faster (sometimes a bit,
sometimes alot)
But say if you have 80 queries, 65 forms, and dozens of reports with
10 user groups. This is a real pain in the butt to recreate all the
object permissions.
I could not find anything on www.mvps.org/access
Someone can enlighten me?
Thanks
NB