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




_______________________________________________________________________ _
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf



________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to