Hello all,
Using Servoy 6.0.4
I have a combobox that has a table-based valuelist as the source. The returned value does not always reflect the correct data from the table.
If the Primary/Identity field from the table is not included in the display text, and multiple options display the same text, these similar items are assigned the value of the first option.
example: a table has multiple entries ‘name’ = ‘home’, but each have a unique primary/identity field (integer), the first being, say, 12.
each option in the combobox that displays ‘home’ will return a value of 12, not the unique field associated with that table row.
If the primary field IS included in the display text of the combobox, each separate item returns the correct value.
Any hints as to why this occurs? Servoy does recognize the primary field of the table. I also understand that multiple selections with the same text and different values is not a user-friendly design; I am just trying to migrate an application from VFP to Servoy.
Thanks in advance to all for your time and expertise.