I have an array of selected items in a foundset and want to create another foundset with them.
I use the following code
- Code: Select all
var selection = forms[frm].foundset.getSelectedIndexes();
var fs=databaseManager.getFoundSet('server','table');
fs.loadRecords(databaseManager.convertToDataSet(selection));
And I get this error:
argument type mismatch
Wrapped java.lang.IllegalArgumentException: argument type mismatch
In the debugger, the valor of "selection" is [1,3]
Any idea?
Thanks.