I have a popover that does a calculation between a global field and a field from a record on the layout. The field used in the calculation needs to be from the last record on the layout. I run a script from the popover to select the last record on the layout.
I would like to to automatically run this script, if I assign the script to the OnObjectEnter of the popover button or popover layout I get in a loop, due to the Go to Object. Any recommendations on to accomplish this?
The GoTo Last Record script is:
Go to Layout [ L201 RESULTS_ Data Entry (Results_Entry) ]
Go to Record/Request/Page [ Last ]
Go to Object [ Object Name: "Retrieve Popover" ]