@andreiem I added a random sleep time before all the procedures started. The 1st thread starts. and then 2nd thread .. 3 and 4 5 ... Since they do not do the same operations at the same time, they do not consume much processor.
@yourfriendkarol Please be more specific on what you are going to achieve. Resources in BAS are very powerful but somewhat limited on the other hand. In total I spent few hours on github trying to understand if using a resource would be good for my this or other problem.
Hope that really answered your problem. Can also use the "Select Records" command, change the Table to the second one and add any filters you need. This will return all records in a list and using the Foreach will get the job done.