I tried making the script and I keep going wrong.
And what script is that?
There are two slightly different approaches such a script can take. Both work.
One is to capture the payment ID in a variable and then switch layouts and perform a find for the specified ID number.
The other is to use Go To Related records to change layouts and disaply the record listed in the portal as the current record on a layout to the same table as the portal. In your case, the script step should be similar to:
Go To Related Record [Show only related records; From table: Payments; Using layout: "Payments" (Payments)]
I followed your second option and it worked perfect. thank you!
now i'm just trying to make a script that will be attached to a new button to go back to the previous screen. any hints would be great!
"previous screen" as in returning from payment to lease agreement?
a single go to layout ["Lease Agreement"]
Would do that.