kbsudhir
08-12-2009, 10:44 AM
Hi All,
I read the thread by Oorang.
http://vbaexpress.com/forum/showthread.php?t=26204
There is no doubt that its an excellent piece of code. Which in fact put complete thought process into motion.
we can ensure that nobody can change the data in tables/queries/design etc
By making "Login" System in the access application.
Entering the startup options & disabling the menus.
We can even disable the bypass option which is Press "Shift" key while opening the database.In my case I am using the 2nd options as there are macros running which are updating my data in the tables & if I want to change to option one a lot of work has to be put in hence not feasible as of now.
Lets go to option 3. If I disable the bypass option, then as a developer how can I enter the design mode to update various stuff.
Hence if there a way we can disable the bypass key & still able to enter the database & make changes..!!!!!!!!!!!!
Or is there any way the access will check the usee credentials without asking for login & exit if the person is in bypass mode even before he/she chnages anything.
I work in citric hence can use VBA.Environ("Username") get the name of teh user without even asking him/her to login.
Any Ideas/guidance is invaluable as always.
Regards
Sudhir
I read the thread by Oorang.
http://vbaexpress.com/forum/showthread.php?t=26204
There is no doubt that its an excellent piece of code. Which in fact put complete thought process into motion.
we can ensure that nobody can change the data in tables/queries/design etc
By making "Login" System in the access application.
Entering the startup options & disabling the menus.
We can even disable the bypass option which is Press "Shift" key while opening the database.In my case I am using the 2nd options as there are macros running which are updating my data in the tables & if I want to change to option one a lot of work has to be put in hence not feasible as of now.
Lets go to option 3. If I disable the bypass option, then as a developer how can I enter the design mode to update various stuff.
Hence if there a way we can disable the bypass key & still able to enter the database & make changes..!!!!!!!!!!!!
Or is there any way the access will check the usee credentials without asking for login & exit if the person is in bypass mode even before he/she chnages anything.
I work in citric hence can use VBA.Environ("Username") get the name of teh user without even asking him/her to login.
Any Ideas/guidance is invaluable as always.
Regards
Sudhir