Hi all,
After several months of development (I was totally new to SQL, VBA and MS Access when I started) I finally have my database all squared away and operating exactly how I want. (With a great deal of help from you fine people at theScripts--thank you!) So the time finally arrived to put my form on the network and allow other people to begin using it. Much to my dismay, none of the users/workgroups I set in the database seemed to come along for the ride.
I created a new Workgroup Administrator file (cleverly named System1.mdw) and put it in the network drive with the database and set the database to look for that file, but it seems that this only affects me on my machine. Other users are not even prompted for a username and password, which needless to say causes some problems.
My security is minimal and primarily geared towards preventing unauthorized users from using several forms which modify table data. I have a front end form (frmFrontEnd) which is the only means for a user to access other forms, and before frmFrontEnd opens any other form it checks the current user name. In psudo-code it looks something like:
If username = "Admin" Then
open formX
Else
msgbox("You don't have permission to use this form.")
End If
Is there any way cause people opening the database from other machines to be required to log in? If not, is there another way to easily accomplish my goal of preventing unauthorized users from accessing other forms?
In advance, thank you!
nickvans
After several months of development (I was totally new to SQL, VBA and MS Access when I started) I finally have my database all squared away and operating exactly how I want. (With a great deal of help from you fine people at theScripts--thank you!) So the time finally arrived to put my form on the network and allow other people to begin using it. Much to my dismay, none of the users/workgroups I set in the database seemed to come along for the ride.
I created a new Workgroup Administrator file (cleverly named System1.mdw) and put it in the network drive with the database and set the database to look for that file, but it seems that this only affects me on my machine. Other users are not even prompted for a username and password, which needless to say causes some problems.
My security is minimal and primarily geared towards preventing unauthorized users from using several forms which modify table data. I have a front end form (frmFrontEnd) which is the only means for a user to access other forms, and before frmFrontEnd opens any other form it checks the current user name. In psudo-code it looks something like:
If username = "Admin" Then
open formX
Else
msgbox("You don't have permission to use this form.")
End If
Is there any way cause people opening the database from other machines to be required to log in? If not, is there another way to easily accomplish my goal of preventing unauthorized users from accessing other forms?
In advance, thank you!
nickvans
Comment