for (i=1; i LTE listLen(currencies); i=i+1) {
variables['product_price_' & i] = getProduct['product_price_' & i];
variables['product_price_sale_' & i] = getProduct['product_price_sale_' &
i];
}
give that a shot?
On Tue, Mar 24, 2009 at 6:55 PM, Mike Little <[email protected]> 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:320894
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4