firebirdta84
Technical User
Hi All,
Running Access 2007 and need a bit of assistance.
I have a table called "tbl_Master" where the first field is called "AssignedTo" and the other fields have data that is loaded from an outside source.
I also have a table named "tbl_Users" with consists of two fields - "UserName" and "LastDateAssigned". This table shows all the names of the people who need to be assigned to records in the other table and the last time each one was assigned a record.
Here's where I need help. At the press of a button, I need to assign each record in "tbl_Master" where "AssignedTo" is null. I need for Access to first order the "tbl_Users" by earliest "LastDateAssigned" and then start assigning the users in that order - one record for the first user, one for the second, etc...and when it reaches the bottom of the user list, it needs to loop back to the start and continue until ALL records in "tbl_Master" have something in the "AssignedTo" field.
Any help that can be provided is very much appreciated!
Joe
Running Access 2007 and need a bit of assistance.
I have a table called "tbl_Master" where the first field is called "AssignedTo" and the other fields have data that is loaded from an outside source.
I also have a table named "tbl_Users" with consists of two fields - "UserName" and "LastDateAssigned". This table shows all the names of the people who need to be assigned to records in the other table and the last time each one was assigned a record.
Here's where I need help. At the press of a button, I need to assign each record in "tbl_Master" where "AssignedTo" is null. I need for Access to first order the "tbl_Users" by earliest "LastDateAssigned" and then start assigning the users in that order - one record for the first user, one for the second, etc...and when it reaches the bottom of the user list, it needs to loop back to the start and continue until ALL records in "tbl_Master" have something in the "AssignedTo" field.
Any help that can be provided is very much appreciated!
Joe