How do I populate a one dimensional array from a query?? I'm having trouble
figuring out how I make the 'Array number' dynamic:
<cfquery datasource="Tester" name="GetNumbers">
SELECT Quantity, ID FROM TestTable
</cfquery>
<cfoutput query="GetNumbers">
<cfset QuantityTotal = ArrayNew(1)>
<cfset QuantityTotal[??]] = #Quantity#>
</cfoutput>
<cfoutput>
#QuantityTotal[??]#<br>
</cfoutput>
Thanks
Sal
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.