Get ( Activeportalrownumber ) will return the active row number of the active portal so this will return zero if you do not currently have the focus in any portal row.
You can use a looping script with go to portal row, to scroll the portal until the specified row is visible. I don't know what other fields you have in Name, so will assume you also have NameID--an auto-entered serial number field to uniquely identify each record.
First, use the name box at the top of the inspector's position tab to give the portal on tab2, an object name such as "AllNamesPortal".
Then this script will scroll the row into view:
Go to object ["AllNamesPortal"]
Go to Portal Row [First]
Exit Loop If [Name2::NameID = Name::NameID]
Go To Portal Row [next ; exit after last]
The exit after last option should not be needed here, but it protects your from an infinite loop if the Exit loop If step fails for some reason.
If you have 15 row portal, this scrolls the specified row for portals listed in rows 15 or more into the bottom of the portal. To scroll it to the top, you'd then use go To Portal row in a second loop to scroll it another 14 times or so (and in this case, you need the exit after last option in that loop as there may not be that many more records in your portal).