I have a situation where a table has > 100.000 records.
Servoy loads these records with blocks of 200 (where is the setting where you can increment this value?)
So the first 200 records are shown initially.
I have a button on my form ‘Go to Last record’
When pressing this button Servoy goes to record 200 and the next block of 200 records are loaded.
I don’t want record 201-400 loaded, but records 99.800-100.000
You can solve this by scripting by setting the controller.selectedIndex() to size of the locally retrieved foundset size.
This will work, but it loads all 100.000 records into the client and you see refresh of the screen when each block of 200 records is loaded.
That is not necessary, because I just want records 99.800-100.000
I could reverse the sortorder, but in that case record 100.000 is on top of the form in stead of the bottom of the form (I’m using tableview)
Is there a way that I can tell Servoy to load records 99.800-100.000 and of course when record 99.800 is selected, then records 99.600 - 99.799 should be retrieved from server.