On Jan 8, 2008 11:41 AM, Robert Harrison <[EMAIL PROTECTED]> wrote: > I'm creating an array. It's a list of record numbers to be looked up later. > This is the code. > > <cfset DiscArray = ArrayNew(1)> > <cfset disnum=1> > > > <cfloop query="cur_disclaimers"> > <cfset DiscArray[disnum]=#id#> > <cfset disnum=#disnum# +1> > </cfloop>
couldn't you just do a query of queries on cur_disclaimers? what are you gaining by creating an array out of a query variable (just curious) ? -- "Scientists tell us that the fastest animal on earth, with a top speed of 120 feet per second, is a cow that has been dropped out of a helicopter." - Dave Barry ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:296185 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4