I have a Static Table with Sales People that's used for assigning new leads. The leads are manually assigned to account for vacations, specialties, etc.. But I want the database to suggest the next sales person in line as there are multiple people fielding the leads. My example is below:
ID SalesPerson
1 Bob
2 Steve
3 Mark
4 Brian
A Customer Service Rep assigns a new lead to (1)Bob. When another Customer Service Rep gets a lead, I want the database to suggest (2)Steve. I'm O.K. making this work by referring to the ID value, plus 1 ([ID] + 1). However, in the example once (4)Brian is assigned, how do I get the next suggestion to be (1)Bob again.
ID SalesPerson
1 Bob
2 Steve
3 Mark
4 Brian
A Customer Service Rep assigns a new lead to (1)Bob. When another Customer Service Rep gets a lead, I want the database to suggest (2)Steve. I'm O.K. making this work by referring to the ID value, plus 1 ([ID] + 1). However, in the example once (4)Brian is assigned, how do I get the next suggestion to be (1)Bob again.