October 1, 201015 yr Hey I'm having trouble figure this out.... Say I have a layout for table A with a portal to table B. How can I write a script to navigate from record 3 in table B to the layout for table A and have it automatically got to a specific field in the portal row of record 3. When ever I "Got to Layout A" then "Go to Field" of the portal, it just selects the first portal row, but I want it to select which ever portal row relates to the record I came from in table B. Make sense?
October 1, 201015 yr At the start of your script pickup the selected portal row with the Get(PortalRowNumber) function. Later you can use the result with the Go to Portal Row script step. Roughly... Set Variable $row = Get(PortalRowNumber) Go to layout Go to field Go to Portal Row ($row)
October 1, 201015 yr I think you may have missread the OP. There is no mention of a portal from the starting layout. I believe he is wanting to go from a child record to the related parent and then to whichever row the child record is on in a portal on the parent layout.
October 2, 201015 yr Author Yeah, Ron you're right. That's exactly what I want, it's tricky because depending on how the portal is sorted I wont know what row the related record is in. I'll play around to see if I can set a row variable to get it work. Thanks guys Edited October 2, 201015 yr by Guest
Create an account or sign in to comment