From the title, it sounds like you have a query, and you need some specific values from it, and are wanting to turn it into an array for processing. If this is what you are wanting, I'd use a query of queries...
For instance, if you have a query, named qry_mine, that has all the data you want, and you want to total up a column, say my_val that is in the query, then you could do that with.
<cfquery name="total_my_val" dbtype="query">
select sum(my_val) as my_tot from qry_mine
</cfquery>
The total is: <cfoutput>#total_my_val.my
If this isn't what you were looking for, I agree with DanielSKim, it would help to have more details.
Main Topics
Browse All Topics





by: DanielSKimPosted on 2006-03-03 at 08:19:43ID: 16095762
I am unsure of what specifically you are asking? Can you provide an example of the values and output you want?