and it doesn’t work (strangely, some records are refreshed and some are not). The foundset is correct, if I loop through it and do a refresh for each record, it works… but it takes much longer. It also takes long to update the foundset by looping and also it takes long to use a foundsetUpdater.
I am running Servoy 2.2.5-build 337, Java version 1.5.0_06-b05 (Windows XP).
It refreshes the entire foundset, except for the first record (this one is also updated in the backend, just that it doesn’t show in the interface unless I reload the solution).
To save trouble, I use now
for(var i = 1; i<= size; i++) databaseManager.refreshRecordFromDatabase(myFoundset, i)
and it’s comparable as speed with the previous aproaches (plugins.rawSQL.flushAllClientsCache and databaseManager.refreshRecordFromDatabase(myFoundset, -1)