Wow, I don't think I would have ever thought of that one, works like a charm, thanks a million!
Kenton On Jun 7, 2005, at 6:17 PM, Barney Boisvert wrote: > When you loop, don't use a collection loop: > > <cfloop collection="#myStruct#" item="i"> > > Instead, use a list loop: > > <cfloop list="#structKeyList(myStruct)#" index="i"> > > The function is exactly the same (no need to edit your loop body), but > with one fundemental difference. You can wrap the structKeyList() > function with a listSort function, and thereby sort the keys into an > order before you loop over them. > > cheers, > barneyb > > -- > Barney Boisvert > [EMAIL PROTECTED] > 360.319.6145 > http://www.barneyb.com/ > > Got Gmail? I have 50 invites. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208901 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

