You could try

<cfif colname = "##_of_farms">
        do whatever to eval ("#"&colname)
<cfelse>
        do whatever to colname
</cfif>

I haven't tried it, but it's an educated guess.

- Matt Small

-----Original Message-----
From: Critz [mailto:[EMAIL PROTECTED]] 
Sent: Monday, March 18, 2002 7:35 AM
To: CF-Talk
Subject: Evaluating # and -

oi CF-Talk!!

  I've got some county data that is returned from ArcIMS as a query.

  Some of the columns returned are

  #_of_farms(2000)
  1-People_living_in_city_limits(2001)

  etc etc

  I normally grab the columnames then just loop thru those and do an
  evaluate to dump the values.

  But evaluate keeps dying on the # and the -

  I can <cfdump> the query, so I am assuming CF can evaluate the
  columnames somehow. But I cannot seem to get it sorted. Any ideas?

-- 
Best regards,

Critter, MMCP
Certified ColdFusion Developer
 
Crit[s2k] - <CF_ChannelOp Network="EFNet" Channel="ColdFusion">


______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to