Have you tried using ArrayInsertAt() ?
So <cfset ArrayInsertAt(Evaluate("PBinNameArray#j#"), i, theSumBinCount.Name
[j])>
Also, are you aware of QuerySetCell()?
Instead of creating the arrays and then putting them in the query you could
do like:
<cfset QueryAddColumn(finalQueryx, 'qty', ArrayNew(1)>
Then in the loop:
<cfset QuerySetCell(finalQueryx, 'qty', theSumBinCount.qty[j], i)>
Dominic
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:296409
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4