I want to be clear that you are only working with data in the portal row?
A quick and easy way to ensure you get to the right place would be to assign the field an object name and use GoToObject.
If that does not help, info about the layout table and the portal table and the location on the layout of the fields might be helpful.
If you're in row 4 of the portal, you have access to all that related record's data. So couldn't you just say in line 3 Set Variable [$temp1 Value: Estimate Data::EntryTrace]
I believe the function Get (ActiveFieldContents) only gets the contents when the field is in focus. That is when you have your cursor in it. I suppose that could be set in a script trigger but that doesn't seem to be the workflow you're describing.
So Go to the portal row the user just entered the data using your variable in step 2. Then set the temp1 variable just using the field name. (skip the function).
Thanks for the hint. Assigning names to the fields allowed me to collect the trace data and transfer it into the popover fields. Tomorrow I'll see if I can get back to the specific table row to transfer in the calculated results.
So I was able to transfer data in and out of a popover that I used to calculate weight of a steel plate and create a description of the plate from the data entered. By naming the required fields I could goto them then get or set the active field. I didn't need to use my trace number/index but it could be used to confirm that the table record row matches the record row that initiated the popover call. Below is how I got collected the popup data and navigated to the correct table row and fields. I have only shown one field entered in this example.