updates recordpointer to point to the next record

recordpointer =

next(recordpointer);