I have one table containing sales records (with a column for AccountExec). One table containing list of Account Executives (with yes/no column to designate active status).
Need to loop through the sales table and assign one active Account Exec to each record. Want it to loop through list of Account Execs, one at a time so sales records are assigned evenly.
Not quite sure how to code that or even if that is the best way to evenly update the table with account execs.
Any suggestions or help are much appreciated.
Need to loop through the sales table and assign one active Account Exec to each record. Want it to loop through list of Account Execs, one at a time so sales records are assigned evenly.
Not quite sure how to code that or even if that is the best way to evenly update the table with account execs.
Any suggestions or help are much appreciated.