dlookup again

krishnanhemanth

Registered User.
Local time
Today, 14:26
Joined
Jun 12, 2009
Messages
115
i can get the windows user name on the textbox of a form

i have a table tblemployeelogin
fields are
employeeid 1
employeename tony
accesscode 1
accessrights readwritemodify

the accesscode and accessrights are like this

1 readwritemodify
2 read
3 write

what i want is

once the form loads, it should check the user name and compare it with the above table and restrict or allow data read/add/modify as per accessrights

how can i do this
i get the user name using fosusername()

please help

hemanth
 
Surely the group and admin permission part of access will deal with this when a user logs into the database?
 

Users who are viewing this thread

Back
Top Bottom