Casey Dougall wrote: > <cfloop index="ColumnName" list="#appconfig.ColumnList#"> > <cfset "APPLICATION.appconfig.#ColumnName#" = appconfig[#ColumnName#]> > </cfloop>
Or the same thing with a few less pound signs and quotes. <cfset Application['appconfig'][ColumnName] = appconfig[ColunName]> Or to completely eliminate the loop, but then you will be working with a record set rather then a simple structure. <cfset application.appconfig = appconfig> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312279 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4