I had a problem before where I stepped through various records. The solution was to just find the next/previous ID in my identifier column and display that data.

However, now I'm implementing a search function. I can grab all of the IDs that are returned from the search function, but how do I keep track of them and find the next/previous one when I refresh the page? I'm totally lost on this one.