Feb 27 2023 02:53 PM
Hello
Per this solution (here), can it be brought into Access... The memory Limit of the machine means I cannot run the macro in Excel. It works on a limited number of records.
Basically, for each line where the trans_id is the same, I need a non-repeating random number between 1 and 25 (e.g. 1000129 would have 4 unique numbers between 1 and 25).
Thanks
Feb 27 2023 03:24 PM
Feb 28 2023 06:05 AM
@George_Hepworth Hey, thanks for the response. I would take either, really. If there is a for each SQL statement that works, that would be fine and less coding to deal with.
Thanks
Feb 28 2023 08:26 AM
For starters, see how well the ranking queries explained here can handle your requirement.
Feb 28 2023 08:04 PM - edited Feb 28 2023 08:06 PM
here is a demo db.
open form1.
on design view, see the Code on the Click event of the button.
also see modRandBetween.