Is there a simple way of getting the display_value of a combobox when I know the real_value?
swingman:
Is there a simple way of getting the display_value of a combobox when I know the real_value?
Using a formbyquery, for instance. But I’m not so sure it can be considered a “simple” way
Ciao Ric,
Ferrara, a nice city…
Formbyquery would be kind of a workaround! However, I managed to solve the problem by setting the dataprovider for the combobox to integer.
Thanks
You can retrieve the contents of the value lists via a method. If you know the value that is stored in the field, you can figure out the display value from that, couldn’t you?
Hi Patrick,
I was hoping for something like:
var dataset = Application.getValueListItems(‘somevaluelistname’);
var thedisplay_value = dataset[real_value];
Anyway, I have rewritten my code to eliminated this issue