I made one called CF_PageList which creates the Next/Previous links and the pages very much like Google. It'll move the page range as you go through the links. Check out www.cornfeed.com for a demo and the download.
Thanks, Cedric >Hi, > >I usually add my custom code to CFML templates that return a lot of >records from a db query to add the paging functionality (next/previous >page buttons). > >Is there any UDF or CFC that can be easily plugged into any CFML >template that requires paging functionality? > >I checked the cflib.org and cfczone.org web sites, but no luck. > >Any hint to write my own code to achieve maximum re-use? > >Thanks. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192388 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54