I am trying to looping through a portal and set a variable to show my my MOP totals. As an example, total cash, total credit, total checks, etc... once the totals are in the variable I would have the totals for each MOP set in a field for each MOP. I have been trying to get the script to work, but I only can get either the total for all MOP, or the last MOP in the portal. I would appreciate any help. thank you.