I have a portal with rows from table B, and the first layout works on table A. These two tables are related.
When a portal row is selected, I want to edit that record from B in its own window layout. But how do I know which record is selected in the portal? I know there is the Get( ActivePortalRowNumber) and I think something like Get(ActivePortalName), but how do I identify the corresponding record in table B from this number? Maybe if I can access the primary key of the active portal row? But how?