You first have to create this valuelist with the name ‘valuelist’ in Developer, then assign that that the combobox. After this the code can fill the valuelist and it will show up.
Another way would be to do all this using the solutionModel.
I’m using SolutionModel to create valuelist. Valuelist is created but when assign to combobox its sitll empty. Can you please explain me in detail how to create valuelist and assign to combobox
rioba:
If you are not sure which backend Db is used you can first concatenate and then build the query
var arg = dept_id + '-' + dept_name;
var sql=“SELECT ’ + arg + ’ FROM departments”;
That doesn’t work because then the database wants substract the value of dept_name from dept_id. Concatenation of columns in your query need to be done by SQL.
It’s a different matter if you want to pass values that you get from Servoy.