R
Rod
Hello,
I have a table, tblNBAC of over 100,000 name. I am looking to run a query
to do:
1) Count the total records in the table.
2) Divide the total record count by 20 for twenty people.
3) Update [Owner] to be a randomized number >0 and <21 which will represent
the 20 people; it is critical they each need to get the same number of
records. If there are some records left over after the division then leave
those records unassigned. The default value for an unassigned record is
[Owner]=0
Once the people all have assigned records a report filtering based on the
owner can be created and distributed to the users.
I have a table, tblNBAC of over 100,000 name. I am looking to run a query
to do:
1) Count the total records in the table.
2) Divide the total record count by 20 for twenty people.
3) Update [Owner] to be a randomized number >0 and <21 which will represent
the 20 people; it is critical they each need to get the same number of
records. If there are some records left over after the division then leave
those records unassigned. The default value for an unassigned record is
[Owner]=0
Once the people all have assigned records a report filtering based on the
owner can be created and distributed to the users.