Except I think you'd loop from="2" because you already set the first value manually
Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -----Original Message----- From: Les Mizzell [mailto:[email protected]] Sent: Friday, May 15, 2009 10:13 AM To: cf-talk Subject: Re: CFSELECT Default Value Problem... Here's what I had to do to get it to work: <!--- Convert results to array ---> <cfset result[1][1]= 0 > <cfset result[1][2]= "Select a Group"> <cfloop index="i" from="1" to="#data.RecordCount#"> <cfset i = i+1 > <cfset result[i][1]=data.groups_id[i]> <cfset result[i][2]=data.mgroup[i]> </cfloop> Still, seems convoluted! You should be able to define a default value!!! Oh well, maybe in CF9, huh? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322559 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

