GaryMcDonald
6 years agoQrew Trainee
Assigning User based on # of assigned records
I have a table of Records ( Claims ) that I have been assigning a User to from a User table that tracks the number of records each User has assigned to them. I want to automatically assign the user who has the least number of records to the next record I create in the Claims table.
For Example
Mike 74 claims
Tom 73 claims
Mary 67 claims
Jane 87 claims
The next record I create in the claims table I would like to assign Mary.
Any thoughts or suggestions on doing this?
Thanks in advance.
------------------------------
Gary McDonald
------------------------------
For Example
Mike 74 claims
Tom 73 claims
Mary 67 claims
Jane 87 claims
The next record I create in the claims table I would like to assign Mary.
Any thoughts or suggestions on doing this?
Thanks in advance.
------------------------------
Gary McDonald
------------------------------