I'm not positive, but I might comment out the result.previous() line and seeif it works then. Not all support scrolling backward in a result set.