can you make a case for this so that we can look into this
I think it is weird that we are distinct when not sorted and not distinct when sorted, we should be at least be one of the 2 on both
that completely depends on what kind of valuelist it is, if it is just plain table with nothing else it is loaded through a foundset so you should see a foundset query on the performance tab in the admin pages
In the thread, Ken Keen has a suggestion that may work for you.
You and Ken report the DISTINCT problem in 6.1, but I came across the problem in 7.1. Perhaps, the problems are related. I never did get resolution to the problem. Please post back if you find a workaround.
In the servoy.properties file, I added the line “servoy.server.setFetchSize=false”, and it does work now
However, “Return in Dataprovider” is still broken. The Valuelist returns ALL columns ( if more than one is selected )
greg
We have a setting that can be set in servoy.properties: servoy.server.setFetchSize=false this will prevent the setFetchSize() call.
Since setFetchSize() is just an optimization hint to the driver this does not have any other effects.
Correction: all columns shown in the Valuelist are DISPLAYED in the text field
If I “show” two columns, and return one in dataprovider, it does work … but, the field then DISPLAYS both columns
I would like to “show” two columns in the Valuelist, return one in dataprovider, and have the text field display it’s contents normally ( like FileMaker )
that is not possible, the text field (or combobox) shows what is in the valuelist (so a concatenation) if you want more sophisticated popup you can use the plugins.window.showFormPopup() method where you can show anything you want in a listview/tableview. (then make a textfield and a button just besides it where the button onclick shows the formpopup)