224
Views
1
Comments
Solved
Place previous and next buttons in a form to view the next data of the aggregate

I have a Form in my page that displays the current data of the aggregate

i need to place a button, after clicking the button it needs to display the next data in the form..



2019-06-05 10-23-58
Andres Moreno
Solution

Hi,

One option you can do is load the data based on the index.

So in the preparation you can have it initialized to an index of 0, and you would get the item 0 of the list. (GetMGSAccount.List[Index])

When you press the Next you can add to the index and Get the next one, the same for the Previous but substracting.

I attached a test app that I quickly created to show you how this option could work.

Hope this is helpful,

Andres Moreno



MoveNextApp.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.