Mike Chytracek wrote:
> <cfloop query="getStuff">
>   <cfset tmp = ListAPpend(clientReglist, eventId)>
>   <cfset eventIdArray = ArrayAppend(eventIdArray, eventId)>
> </cfloop>

ColdFusion has built in functions that are more efficient than looping 
over the query one record at a time:

<cfset clientReglist = valueList(getStuff.eventId)>
<cfset eventIdArray = listToArray(clientRegList)>


-Justin


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

Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4379
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to