5 Replies Latest reply on Apr 18, 2013 3:56 AM by PeterWindle

    Sort Records by Field...

      Hi all,

       

      I would like to make a generic script that would sort my records by the field "order". I use that field in a lot of tables and layouts.

       

      In my script I try to activate the field "order" by a set field by name script step

       

      ---- Set Field by Name ["Table::order"; Evaluate ("Table::order")

       

      The next step would be a sort records by field. In the reference guide it's mentioned: "If you do not specify a field, the script sorts by the field that is active when the script runs"

       

      ---- Sort Records by Field [Ascending]

       

      I get an error 5

       

       

       

      Is there a way to make a generic sort script?