List of search criteria without using a table

Hi:

I’d like to show a window where you can build a list of search criteria. This list would have 3 columns: filed name, operator, value. You could add lines, each one with a combination of filed, operator and value.

An easy way is creating a table with 3 fields, inserting record when the user adds search criteria. But how can I do it without creating that table in the Database?

Thanks

Hi Logout,

Check out the databaseManager.createEmptyDataSet() and the JSDateSet.createDataSource() functions.
You can add a in-memory datasource to a newly created form (using the solutionmodel) and use that.
For an example see viewtopic.php?f=22&t=16303 .

Hope this helps.

Ok, I’ll try it. Thanks!