cfset needs to be outside the loop, and represent the external var, not the looped var
At 12:16 PM 3/13/2007, you wrote: >No bueno. > >On 3/13/07, Adkins, Randy <[EMAIL PROTECTED]> wrote: >> >> Nature of the beast. >> >> Try this: >> >> >> <td align="left"> >> <select name="StatusID_#TaskID#"> >> <cfloop query="getStatusRet"> >> <cfset thisID = getStatusRet.Status_ID> >> <option value="#thisID#" <cfif >> getTimeLinesRet.Status_ID EQ this_ID>Selected</cfif>>#Status#</option> >> </cfloop> >> </select> >> </td> >> >> >> ________________________________ >> >> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272545 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

