I'm using a foundset load trigger to initialize an in-mem datasource with the code below
- Code: Select all
function onFoundSetLoad_record_history(inMemName) {
var ds = databaseManager.createEmptyDataSet(0, datasources.mem.record_history.getColumnNames());
ds.createDataSource(inMemName);
}
getColumnNames() returns ["_sv_rowid"... as the first column which doesn't exist in the in-mem datasource.
createDataSource(inMemName) then reaises this warning:
WARN com.servoy.j2db.util.Debug - Dataset column names definition does not match inmem table definition for datasource
Any ideas how to get rid of this?
best
Jo
Servoy Version: 2019.9.0.3522