Is it possible to do this? I have a portal that lists related records that I need data from. For example... an average of a field and omitting records that are out of range. The way it works now is when I switch records the portal is populated and i have certain records lets say they're within a certain range. I take those filtered records and pull out the averages/sums I need and that gets calculated into the open record at that time. This is a bit cumbersome as each record is evaluated upon record load. I would like to go through that data similar to how the portal works and run a script that will run through each record and calculate the fields I require in relation to the currently open record.