G
Guest
I have made one mdb, in which I made a password type system, like when the
mdb is opened, it opens a form, where the user enters a password and it takes
it to SwitchBoard Form, if wrong password it exits mdb.
One user was using the mdb, he had the persmission to edit/modify/Add data.
Now I have to add one more password for another user. BUT he should not have
the persmission to edit/modify/add data. He should only read the Forms Data
and prints reports.
For doing this MY IDEA is that I will make a Seprate function like below and
will call on On Open Event of each Form :
Function NoPermissions()
If Dlookup("[PwPerson]","[PwTable]")="Ammer" Then
Me.AllowEdits=False
Me.AllowAdditons=false
End If
End Function
I may have set User & Group Permission to do this, BUT its late, as I have
already designed Password method form.
My question is that Is the Above method correct OR I should do in some other
easier way.
Please advise me the other methods which can be implemented to carry out the
above mentioned problem.
Regards.
Irshad.
----------------------
mdb is opened, it opens a form, where the user enters a password and it takes
it to SwitchBoard Form, if wrong password it exits mdb.
One user was using the mdb, he had the persmission to edit/modify/Add data.
Now I have to add one more password for another user. BUT he should not have
the persmission to edit/modify/add data. He should only read the Forms Data
and prints reports.
For doing this MY IDEA is that I will make a Seprate function like below and
will call on On Open Event of each Form :
Function NoPermissions()
If Dlookup("[PwPerson]","[PwTable]")="Ammer" Then
Me.AllowEdits=False
Me.AllowAdditons=false
End If
End Function
I may have set User & Group Permission to do this, BUT its late, as I have
already designed Password method form.
My question is that Is the Above method correct OR I should do in some other
easier way.
Please advise me the other methods which can be implemented to carry out the
above mentioned problem.
Regards.
Irshad.
----------------------