firebirdta84
Technical User
I need some assistance with assigned records in an Access 2010 database table, based on criteria found in another table in the same database.
Two tables for this example:
1. tbl_Master: Each record is a separate report. These reports are given one or multiple categories based on criteria that is pre-determined and not significant here.
2. tbl_Users: This is the master user list, with each record being a user and what categories they are allowed to work.
Currently, I have a form where the user will select the number of records they want assigned to them via a combo box, and it will update tbl_Master with their name in the "AssignedTo" field, where AssignedTo is null, ordered ascending by ID. This piece works perfectly, but it doesn't include the additional criteria of the categories.
A user can be assigned work in tbl_Master to any report as long as the given report does NOT include a category that the user cannot work.
Note that the categories in both tbl_Master and tbl_Users are not in any specific order.
See attached example.
How can I make sure that a user isn't assigned a Report that lists a category that they are unable to work?
Any guidance to steer me in the right direction would be much appreciated!
Thanks
Joe
Two tables for this example:
1. tbl_Master: Each record is a separate report. These reports are given one or multiple categories based on criteria that is pre-determined and not significant here.
2. tbl_Users: This is the master user list, with each record being a user and what categories they are allowed to work.
Currently, I have a form where the user will select the number of records they want assigned to them via a combo box, and it will update tbl_Master with their name in the "AssignedTo" field, where AssignedTo is null, ordered ascending by ID. This piece works perfectly, but it doesn't include the additional criteria of the categories.
A user can be assigned work in tbl_Master to any report as long as the given report does NOT include a category that the user cannot work.
Note that the categories in both tbl_Master and tbl_Users are not in any specific order.
See attached example.
How can I make sure that a user isn't assigned a Report that lists a category that they are unable to work?
Any guidance to steer me in the right direction would be much appreciated!
Thanks
Joe