cursorNext function

Pull next object from a cursor