Loop thru Portal records

Discussion created by flamecoder on Feb 5, 2016
Latest reply on Aug 6, 2017 by Malcolm

In my script I want to make changes to all related records shown in a portal. Is there an easy way to make the change or do I have to grab the primary key, go to other table, do a search with the foreign key then loop thru them making the change?

If I try to just set a field without looping it's only going to change the first record in portal.