September 9, 200223 yr I am new... and I want to make a "ascendig descendig order" script in a list, ex : order ascending or descendig a list of items but I dont know how can i doit , can you people gime some tips or an advice how can i do it, thaks . Dennis
September 9, 200223 yr I'm going to have to make some guesses about what you mean. I'm going to assume your "list" is a set of records in List View. Further, I'm going to assume "ascending descending order" script means a script that will change the sort order from ascending to descending or descending to ascending each time it is run. Create a field: gSortOrder (global, number) Create scripts: (first script - Sort Button) Allow User Abort (off) Set Error Caputure (on) If(gSortOrder) Perform Script(SORT: Descending) SetField(gSortOrder, "") else Perform Script(SORT: Ascending) SetField(gSortOrder, "1") End If (second script- SORT: Ascending) Sort(Restore, no dialog) <-- set the ascending sort order in this script (third script- SORT: Descending) Sort(Restore, no dialog) <-- set the descending sort order in this script If this isn't what you wanted, try your question again with a little more explaination. -bd
Create an account or sign in to comment