What is the script for creating the new record? Does it maybe end with a goto portal row first step? If so you may just need to change it to goto portal row last.
The Script:Set Variable [$NoteID; Value:Main Page::RepcientID]Freeze WindowGo to Layout ("Images Portal" (Images Portal)]New Record/RequestSet Field [Images Portal::RecipientID; $NoteID]Commit Records/Requests [Skip data entry validation; No dialog]Go to Layout [original layout]Got to Field [Images Portal::Image_Title]I have tried the "Go to Portal Row", both "New" and "Last" prior to the "Go to Field Line". However, the focus still remains on the Image Title Field on the first record...not the newest record and the end of the portal...?
I don't understand everything that is happening but try the Go to Portal Row AFTER the Go To Field step.
If you have more than one portal on your layout, there can be problems because Go To Portal Row selects a portal row of the portal that currently has the focus and that could be the other portal.
Go To Field, as dataWolf recommended, is one simple way to give the correct portal the focus so that Go To Portal Row works the way you'd expect.
You can also give the portal an object name and use Go To Object to give it the focus. (With filtered portals in Filemaker 11, you might have two portals to the same table occurrence and then Go To Field might still fail to set the focus correctly if both portals have this same field.)
I had the same issue with one of my layouts that contained multiple portals. (Each script worked when I removed the other portal.) The solution was simply changing the focus with
Go to Field [Location::Name]
Go to Portal Row [Select,Last]