Hey shravshetty ,
I have a similar problem. My query is displaying the records based on my own criteria and sorted correctly. I cannot use ID when referring to previous or next records because they are not in sequencial order. I have been trying to determine how to add an autonumber or counter...