Hi, Josh... thanks for pointing that out. I realized that, too, when I began to run the code.
Got a solution now! Thanks, Josh and everyone for your help! Rick -----Original Message----- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: Thursday, February 15, 2007 12:32 PM To: CF-Talk Subject: Re: How to re-order items? Hi Rick, You don't want to add 10, you want to multiply by 10. So you are looping the data: <cfoutput query="getAgents"> Your cfquery would look like UPDATE AgentsTable SET displayorder = #currentRow# * 10 WHERE AgentID = #AgentID# </cfoutput> This will insert 10, 20, 30 etc. as the display order. -- Josh ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269925 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

