First attempt at using Access security and I wanted to get some advice on how to structure my reports/forms.
I have groups defined as "Conference", "Membership", "Admin" etc. The users are assigned to one group. I have one data entry form that is currently supported by a query, qryData.
However, the data in qryData is for all the different departments (department numbers) in the organization. When someone in the Conference group logs into Access, I only want them to see the data that pertains to their department.
I was thinking that I'd create queries for each department, qryData-Conference, qryData-Membership... These would pull only the appropriate department numbers. Then in VBA, I'd alter the form's record source to match the appropriate query, based on the user ID.
I was thinking of doing something similar for the reports.
Is this the correct way of going about this?
Another option I considered was creating duplicate forms/queries for each department and assigning permission that way, but if I have a change to the form, it would mean changing it several places. Also for my reports, as there are many, it just seemed to much.
Thanks.
Anna Jaeger
iMIS Database Support
I have groups defined as "Conference", "Membership", "Admin" etc. The users are assigned to one group. I have one data entry form that is currently supported by a query, qryData.
However, the data in qryData is for all the different departments (department numbers) in the organization. When someone in the Conference group logs into Access, I only want them to see the data that pertains to their department.
I was thinking that I'd create queries for each department, qryData-Conference, qryData-Membership... These would pull only the appropriate department numbers. Then in VBA, I'd alter the form's record source to match the appropriate query, based on the user ID.
I was thinking of doing something similar for the reports.
Is this the correct way of going about this?
Another option I considered was creating duplicate forms/queries for each department and assigning permission that way, but if I have a change to the form, it would mean changing it several places. Also for my reports, as there are many, it just seemed to much.
Thanks.
Anna Jaeger
iMIS Database Support