Actually if you have the whole set in the array, and are just
displaying sections of it, then you can set the sorts into user scopes,
and proceed. Of course then you *do* have to do some work on your
prev/next buttons, but, hey! that's a fun learning experience! heh heh
On Oct 21, 2004, at 9:15 AM, Roland Dumas wrote:
Yeah, but then try using the prev/next button snippets...
On 10/21/04 3:41 AM, "Dale Graham" <[EMAIL PROTECTED]> wrote:
This isn't quite the same as what you are asking, but what we do is to
get the data out as a user scoped array, then allow the user to select
how they wish to sort the data, and sort the array accordingly and
redisplay the page. What's nice about this is we can offer complex
sorts this way (e.g., sort by author and then by most recent year or
sort by year only or sort by author and then by oldest year, etc)
On Oct 21, 2004, at 1:03 AM, Roland Dumas wrote:
In a search action, one sets the sort fields and the ASC DESC sort
orders.
Is there any way to control the sort order (ASC DESC) by a variable?
One can always sort the resultset, but that's only sorting the piece
of the
totalrows
-----------------------------------------
Roland Dumas
Roberts Information Services
310 W. Bellevue Avenue
San Mateo CA 94402
650-347-1373
415-412-9300 (cell)
[EMAIL PROTECTED]
SMS: http://new.servqual.com/html/sms.tml
_______________________________________________________________________
_
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf