4 Replies Latest reply on Aug 6, 2013 10:48 AM by TomGrasmeyer

    Re-sorting Portal Records

    Mitch

      Title

      Re-sorting Portal Records

      Post

      Hi,

       

       

      My database has a portal which holds a large number of records.   The portal is set up in such a way that the records are sorted by time stamp created (through the portal setup - sort portal records ).  So when adding new records that new record is at the top of the portal.

       

      1. Is there any way I can add a script to a button that re-sorts the portal records by 'date ascending', 'name ascending' or through any other field within the portal?

       

      2. Can this script alternate between 'sort ascending' and 'sort descending' on each button click?

       

      If so, any idea of the script.

       

      Mitch

       

       

      MAC OSX - Filemaker 11