Alright!  This works fine thanks.
I don't want do rewrite my variable scoping for this app, but I'll  
consider having everything in Variables for the future as I write  
this up as a general include.

> It may be helpful to know/recall that all local variables live in a  
> scope structure called Variables.
>  So you can just use that instead of the structure you create  
> yourself:
>     <cfset Variables[col] = the_db[col][currentRow]>
>
> This should also be faster, because of the explicit scoping.
>
> The syntax mentioned in the other replies works just fine, though:
>     <cfset "#col#" = the_db[col][currentRow]>


-- 

Daniel Kessler

College of Health and Human Performance
University of Maryland
Suite 2387 Valley Drive
College Park, MD  20742-2611
Phone: 301-405-2545
http://hhp.umd.edu




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266035
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to