This won't work on a details page and a recordset that only returns 1 record. How are you filtering the recordset? I think you may have to do two more recordsets in order to get the ID of the next and previous records and put in your own navigation that way. The navigation you are using is designed for a page with a repeat region that returns multiple records from the database but only displays a few at a time.