When you are posting data to the web page, grab the IDs of the previous and next items. Store those as hidden fields. Then when you query the DB again, iterate through the list looking for the "target ID", and again grab the previous and next items. et.al. --- Anthony Baratta President Keyboard Jockeys