Next record after save - Mendix Forum

Next record after save

0

I have a datagrid with records as the workload for a user. After processing a record I want after the save of this record, automatically to open the next record in the same screen.
It seems to be a problem retrieving the next record in this datagrid. At the end of the table, the first record of that table has to be shown.

Cannot find any information about how to do this, so my hope is on you guys!

 

 

asked
1 answers
0

You’ll need a method to determine the next record. The grid itself does not have options to select the next record.

So you are limited to what you can select from the database and can’t take the sorting of the grid into account.

When this is not an issue then on the close just trigger a microflow that retrieves the next record from the database, perform a close action and open page action with the next record.

If the sorting needs to be taken into account you’ll need to device a way in which you can access the sorting by setting up a search function and results grid manually.

answered