It all depends on how the data looks like and how it’s organised. Accessing it can be done directly from within the widget if simplicity is what you’re after:
Here the button would pull next data row providing rows are numbers.
There are many ways to make the above (much) better; too numerous to list without comprehending what the flow of the app / game is, though.