How can I manually flush the foundset?

Hi guys,

I have a problem with foundset. In my project, user may add the database record beyond the servoy system, but the servoy application will only see the foundset what when the form loaded. I need to manually flush the foundset to let the form see the foundset with new record which is created from another application.

Any idea?

Thanks,

Best regards.

Have a look at databaseManager.refreshRecordFromDatabase()
You could expose a web service that when called would refresh the foundset, or call plugins.rawSQL.notifyDataChange() to generate a dataBroadcast event.

Great! thanks, Patrick!