Johan: no, at least I don't get it to work. I have a form that shows data and use this code:
- Code: Select all
var fs = databaseManager.getFoundSet(controller.getServerName(), controller.getTableName())
var record = fs.getRecord(1)
in the debugger, fs looks empty (not null, but empty string). record evaluates to null.
As far as I understand, a form (and a controller) is not needed at all, right? At first I tried
- Code: Select all
var fs = databaseManager.getFoundSet(myServer, myTable)
but that resulted in the same. But something useful seems to be going on, because when I do
- Code: Select all
var fs = databaseManager.getFoundSet(controller.getTableName(), controller.getServerName())
fs is null.