From: "Paul Sinclair" <[EMAIL PROTECTED]>


> Pan,
> 
> The problem turned out to be that some rows in the db table had null values.
> Apparently an array doesn't like that. When I populated the empty db rows
> with 0 in all columns, the arraySum function liked that fine.
> 
> Thanks for taking the time to look at this problem.
> 

If keeping null in your db is a good thing, then priming your array
with 0 would work. Knowing ahead of time (from analysis) how
many elements your array needs would be necessary, else cfset
the current element with 0 just before filling with actual data
read from db.

Pan


------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to