On Tuesday 11 Mar 2003 14:39 pm, Michael J. Sammut wrote:
> Can anyone lend some help in explaining how I may sort this without XSLT?
Create a list of all the primary key id's of the record set, sorted by
whatever you need, then loop over that list and pull out the records with it.
i.e.
var listSorted="";
output records
insertSort(this.id);
loop over listSorted
output record given by id
The tricky bit is insertSort() - you'll need to write something to add the
current id to listSorted, with it's locationbased on the value of something
else in the record.
A structure like
sorted[].id
sorted[].value
may make this easier.
--
Tom C
"Land of the free, home of the brave... you have to be brave to live there and
enjoy the freedoms"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4