Why do I get 36 records in my query when there should only be 8?  I must be 
doing something wrong with the AddRow and SetCell???

Im a little fried right now so I need an extra set of eyes.



<cfset url.SKUList = 
"940172000,990082202,990125104,080182700,080182722,940163500,940163518,940163520">
        
<cfset getSKUs = QueryNew("SKU","varchar")>
        
<cfloop from="1" to="#listLen(URL.SKUList)#" index="i">
        <cfscript>
        QueryAddRow(getSKUs, #variables.i#);    
        QuerySetCell(getSKUs, "SKU", #listGetAt(URL.SKUList, i)#, 
#variables.i#);
        </cfscript>
</cfloop>

<cfdump var="#getSKUs#">


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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297854
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