I need to show a couple of table view form based on a SQL. One of them is going to be shown in a tabpanel, while the other one will be shown in a dialog form.
Note that in Servoy 6.0 (introduced in beta1) we have added a shortcut method on databaseManager: createDataSourceByQuery()
It will do the same as getDatasetByQuery() + dataset.createDataSource(), except it does not go from server->client->server.
The data will be selected on the server and kept in memory there, only the data shown in the form is sent to the client.
Note that in Servoy 6.0 (introduced in beta1) we have added a shortcut method on databaseManager: createDataSourceByQuery()
It will do the same as getDatasetByQuery() + dataset.createDataSource(), except it does not go from server->client->server.
The data will be selected on the server and kept in memory there, only the data shown in the form is sent to the client.
Sweet! I am looking forward to replacing all our older 2-step methods with the new one. More importantly, it removes the data manipulation from the client and puts it where it belongs…on the server! Way to go Servoy!