Do a search for 'renamequerycolumns' at http://www.macromedia.com/cfusion/exchange/index.cfm#loc=en_us&view=sn10 5&viewName=Exchange%20Search. Should be the only resulting file. Also, you may need the CFX_QueryColumns tag as well (also available at MM).
If you have any problems, let me know, I'll forward to you separately. Matt -----Original Message----- From: James Blaha [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 12:47 PM To: CF-Talk Subject: Re: Hyphen in a variable name? Matt, Looks interesting. Where can I get the tag from MM? Regards, JB Matt Kornguth wrote: >James, >Don't know if this will help, but take a look at the RenameQueryColumns >custom tag. Called like this: > ><CF_RenameQueryColumns > QUERY="getProductName" > ACTION="MAKESAFE" > NEWQUERY="getProductNameRenamed" > MAKEUNIQUE="Yes" > USEUNDERSCORE="No"> > >This will turn product-code into productcode. Works really well. I need >to use it constantly as I connect via ODBC to a Progress db that uses >hyphens all over the place. > > > > >-----Original Message----- >From: James Blaha [mailto:[EMAIL PROTECTED] >Sent: Friday, June 13, 2003 11:49 AM >To: CF-Talk >Subject: Hyphen in a variable name? > > >Hello All: > >Does anyone know how to use a hyphen in a variable name for a cfoutput? > >For example: ><cfset my-name = "Jim"> ><cfoutput>#my-name#</cfoutput> > >I'm outputting a field in a LDAP server that has a hyphen in its name >and I can't seem to output it in ColdFusion. > >Regards, >James Blaha > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4