something like this?

for (i=1; i LTE listLen(currencies); i=i+1) {
product_price_#listGetAt(currencies, i)# = getProduct['product_price_' & 
listGetAt(currencies, i)];
product_price_sale_#listGetAt(currencies, i)# = 
getProduct['product_price_sale_' & listGetAt(currencies, i)];
}


Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/



Mike Little wrote:
> hey guys,
>
> doing some very wrong here...
>
> for (i=1; i LTE listLen(currencies); i=i+1) {
> product_price_"#i#" = evaluate('getProduct.product_price_' & i);
> product_price_sale_"#i#" = evaluate('getProduct.product_price_sale_' & i);
> }
>
> basically i want to assign a database field to the following vars...
>
> product_price_eur
> product_price_sale_eur
> product_price_usd
> product_price_sale_usd
>
> my list..
>
> currencies = "eur,usd"
>
> any help would be appreciated.
>
> mike 
>   

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320895
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to