> <cfloop index="count" from="1" to="#listlen(listvar)#">
Actually, I've always seen this combined with ListGetAt() as a fairly Newbie problem as well - especially when you don't know how long your lists are going to be You should really do; <cfset ArrayVar=ListToArray(ListVar)> <cfloop index="count" from="1" to="#ArrayLen(ArrayVar)#"> Long lists get extremely slow, and converting them to an array means that it's read as a list once, rather than the CF engine having to read from the start of the list at every instance This especially becomes a problem when you're dealing with a comma separated list that might come from a form or a query of Ids Oh, another fairly Newbie thing is using a lot of CFSET and CFIF commands rather than using CFSCRIPT, which is white-space free and faster for longer blocks of commands I know I'm talking about milliseconds of speed, but it all adds up... Philip Arnold Technical Director Certified ColdFusion Developer ASP Multimedia Limited Switchboard: +44 (0)20 8680 8099 Fax: +44 (0)20 8686 7911 www.aspmedia.co.uk www.aspevents.net An ISO9001 registered company. ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_community Get the mailserver that powers this list at http://www.coolfusion.com
