Beverly,
use a direct SQL-command to do the sort.
1) it's faster as Witango
2) it work
regards
Daniel
----- Original Message -----
From: "Beverly Voth" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, November 03, 2008 7:44 PM
Subject: Witango-Talk: Witango and @SORT for arrays
I have a large solution that worked well until "SORTING" a list was
requested.
We make the SQL query and it's stored in an array (because it's far to
complex to requery to get the "next 15" set of records for the list
display).
So a link on the list page is passing the sortType to be performed and an
@IF tests for the sortType. It then performs an <@SORT ARRAY....> on the
columns requested.
It "seems" to work the first time you sort. However, from there it's too
strange. Is the SORT actually re-arranging the ARRAY? And why would it not
allow more than one sort action on the same array?
Thanks,
Beverly
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf