Hi
I have Access 2007 db with tblusers, tbldept, tblrecord
I want most users to only see records pretaining to their department in forms and reports. That much I have sorted - based on queries that lookup user department.
However i want some to have superuser access. i want them to see all departments. is there a way i can do this without having to create separate versions of queries/forms and reports as there are many of them and it would be difficult to maintain if updates are required at later stages.
In this instance, is there a way i can give some users access to all departments without having to design new queries. My users are currently only members of one department. I think im restricted here as the login form looks up "txtusername" in tbluser/username and then updates hidden txtdept based on username lookup.
Is there a better way of doing this. Im not thinking very laterally today!
my tables are as follows
tblusers
userid (PK)
username
deptID
usergroup
tblDept
DeptID (PK)
Department
tblRecord
RecordID (PK)
ProjectName
Dept
I have Access 2007 db with tblusers, tbldept, tblrecord
I want most users to only see records pretaining to their department in forms and reports. That much I have sorted - based on queries that lookup user department.
However i want some to have superuser access. i want them to see all departments. is there a way i can do this without having to create separate versions of queries/forms and reports as there are many of them and it would be difficult to maintain if updates are required at later stages.
In this instance, is there a way i can give some users access to all departments without having to design new queries. My users are currently only members of one department. I think im restricted here as the login form looks up "txtusername" in tbluser/username and then updates hidden txtdept based on username lookup.
Is there a better way of doing this. Im not thinking very laterally today!
my tables are as follows
tblusers
userid (PK)
username
deptID
usergroup
tblDept
DeptID (PK)
Department
tblRecord
RecordID (PK)
ProjectName
Dept