I have a layout that contains a portal. When I move to a new record that is performed through a script, the script goes to the portal name, goes to the last row, then goes to a particular field. When the script exits, it jumps back to the first row.
When I run the script using debugger everything runs as it should. The cursor is in the correct field of the last row. When the script ends, the cursor jumps back to the first row.
Any way to keep it in the last row?