I thought I'd done something like this before, but can't locate similar
code.

Creating a news marquee that can be made up of from 1-5 text fields
contained in a larger query. Possibilities are:
qNews.Banner1, qNews.Banner2 ... qNews.Banner5

Am able to put them together with:

<CFSet MarqMess = "News: ">
<CFLoop from="1" to="5" index="b">
     <CFSet qry = "qNews.banner" & b>
     <cfif len(trim(evaluate(variables.qry)))>
          <CFSet MarqMess = Variables.MarqMess & " " &
evaluate(variables.qry)>
     </cfif>
</CFLOOP>

Above works, but thought there should be a way to do this not using the
evaluate function.

Appreciate any direction.
Thanks

E. Keith Dodd
Wings of Eagles Services
www.wingserv.com


-
[This E-mail scanned for viruses by declude AntiVirus Software]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to