1 Reply Latest reply on Jul 12, 2012 10:03 PM by philmodjunk

    Portal records go back to top - want to stay in position

    HugoLidia

      Title

      Portal records go back to top - want to stay in position

      Post

      Many moons ago I posted on the same topic and never did get an answer.

       

      Problem : we have a table of records displayed in a portal.  If the User selects the record number the associated details are displayed in the panel on the same screen, but next to where the portal is displayed.  This all works fine EXCEPT the portal then goes back tothe very top.

      Question : How do I keep the portal from moving back to the top (Reset scrollbar when exiting has NOT been selected).

       

      Connumdrum - we have another database with a similar facility but here the portal does NOT go back to the top, but we cannot trace any code that is controlling/inhibiting this

       

      All ideas appreciated, as always.

      Chris

        • 1. Re: Portal records go back to top - want to stay in position
          philmodjunk

          Change your method for displaying the detail data next to the portal. My best guess is that you are using Go to Related Record or a scripted find to find a record to show the detail infoe. The change in record would then be what makes the portal "snap back".

          If you use fields that refer to a related table occurrence via a relationship that is updated by your "click the portal row" script, You stay on the same record and this may keep your portal from "snapping back".

          The unknown quantity here is that commit record may also trigger this change in the portal. You'll need to experiment and see. If you can't avoid the commit record and the portal is snapping back on the commit, your only other option is an imperfect "scroll back to the record" method that brings the clicked portal row back into view, but not in the exact same position that it had when you clicked the portal row.