----- Original Message ----- From: "Rob Smith" <rob.smith at THERMON.com> Sent: Friday, January 02, 2004 11:19 AM > Just for SNG, here's my code that generates the > ...counter > Dim counter > if not Versions.eof then > while not Versions.eof > counter = counter + 1 > Versions.movenext > wend > Versions.movefirst > end if Rob, This is definitely the hard way to count records. Change the cursor type to get a good recordcount property of the recordset object. http://www.devguru.com/Technologies/ado/quickref/recordset_recordcount.html http://oldlook.experts-exchange.com/Web/Web_Languages/ASP/Q_20787186.html > ...what I'm trying to accomplish: (it's a version tracking system) > states desired are: > a) <font color="gray">Prev</font> | 1 | <a > href="page.asp?version+1">Next</a> > b) <a href="page.asp?version-1">Prev</a> | 2 | <a > href="page.asp?version+1">Next</a> > c) <a href="page.asp?version-1">Prev</a> | 3 | <font > color="gray">Next</font> Make sure that your end result are links that look as such, <a href="page.asp?version=1">Prev</a> | 2 | <a href="page.asp?version=3">Next</a> Good luck, <><><><><><><><><><> Joshua Olson Web Application Engineer WAE Tech Inc. http://www.waetech.com/service_areas/UT/ 706.210.0168