<cfset itemIDList="">

belongs outside the loop...

----- Original Message -----
From: "Owens, Howard" <[EMAIL PROTECTED]>
Date: Wednesday, March 12, 2003 6:55 pm
Subject: ListAppend not Appending

> I hate shit like this ... how many times have I used ListAppend? 
> 
> But I just can't see why this isn't appending ... each new value 
> is simply
> overwriting the first value
> 
> 
>       <cfloop index="ThisOrder" from="1" to="#ArrayLen(cart)#">
>       
>       <cfset itemIDList="">
>       <cfset itemIDList="#ListAppend(itemIDList,
> "#cart[ThisOrder].ITEM_ID#")#">
>       
>       <cfoutput>list: #itemIDList#</cfoutput>
>                       <cfoutput>
>                       
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Howard Owens
> Internet Operations Coordinator
> InsideVC.com/Ventura County Star
> [EMAIL PROTECTED]
> AIM: GoCatGo1956
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to