Jumat, 03 Maret 2017

[MS_AccessPros] Re: randomly chosen groups

 

If you want equal numbers in each group, how about:

Allocate a field to a Group number and make them all = 0.
Define N = total number of records / 4.
Use a loop to change random records having Group=0 into Group=1, until N records have been done.
Then repeat making Group=0 into Group=2 until N records have been done.
Ditto for Group 3.
Ditto for Group 4, but until all remaining records have been done, in case the total number of records is not divisible by 4.

__._,_.___

Posted by: davewillgmale@gmail.com
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (9)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


.

__,_._,___

Tidak ada komentar:

Posting Komentar