On Tue, Sep 9, 2008 at 4:53 PM, Wally Randall <[EMAIL PROTECTED]>wrote:
> Why does this fail inside a cfoutput loop over a query: > > <cfset application.#appconfig.code_name# = '#appconfig.code_value#'> > > It generates this message: > > "A CFML variable name cannot end with a "." character. > The variable application. ends with a "." character. You must supply an > additional structure key or delete the "." character." > > Just throwing something out here since you are mentioning that you are doing this by looping over a query. You could set all of those appconfig variables by looping over the column names. <cfloop index="ColumnName" list="#appconfig.ColumnList#"> <cfset "APPLICATION.appconfig.#ColumnName#" = appconfig[#ColumnName#]> </cfloop> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:312275 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4