many have suggested solutions but in case your interested there is a function on cflib called querytovars
http://cflib.org/udf.cfm?ID=538 >Is there a way to create named variables from a dynamic list (the list >doesn't always have the same number of elements)? > > > >One instance might be: > > > >red,green,blue,yellow > > > >becomes > > > >#red#,#green#,#blue#,#yellow# > > > >Or would this just be easier to do with listGetAt()? > > > >Thanks! > > > >~Steve > >http://lanctr.com/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304787 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4