Jason, This worked like a champ...
Thanks sas -- Scott Stewart ColdFusion Developer 4405 Oakshyre Way Raleigh, NC 27616 (h) 919.874.6229 (c) 703.220.2835 -----Original Message----- From: Jason Fisher [mailto:[email protected]] Sent: Friday, May 01, 2009 10:21 AM To: cf-talk Subject: re: list question <cfset listLoc = listFind(orderIDList, url.orderID) /> <cfif listLoc eq 1> <cfset prevOrderID = "" /> <cfelse> <cfset prevOrderID = listGetAt(orderIDList, listLoc - 1) /> </cfif> <cfif listLoc lt listLen(orderIDList)> <cfset nextOrderID = listGetAt(orderIDList, listLoc + 1) /> <cfelse> <cfset nextOrderID = "" /> </cfif> and then just use prevOrderID and nextOrderID as appropriate in your links. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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-talk/message.cfm/messageid:322105 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

