Hi all,
I'm population a combo-box with list-item-pairs from a database table. In my case, it's possible that there are duplicate items, but with a different primary key.
In this case, I've the following data:
id: 0 - value: (empty)
id: 1 - value: Roeselare
id: 2 - value: Rumbeke
id: 3 - value: Oekene
id: 4 - value: Beveren-Roeselare
id: 5 - value: Roeselare
So the list-item-pairs is ",0,Roeselare,1,Rumbeke,2,Oekene,3,Beveren-Roeselare,4,Roeselare,5".
When I assign this to the combo-box and get it back again, it gives me ",0,Roeselare,5,Rumbeke,1,Oekene,2,Beveren-Roeselare,3,Roeselare,4"
I also tried to fill the combo-box using the add-last function, this works wel until the duplicate item is putted in.
Again, the list-item-pairs go from ",0,Roeselare,1,Rumbeke,2,Oekene,3,Beveren-Roeselare,4," to ",0,Roeselare,5,Rumbeke,1,Oekene,2,Beveren-Roeselare,3,Roeselare,4".
The Progress knowledge center brings me to Bug# OE00057192, which is for Progress 9.x and tells to upgrade to version 10.0A. We already have version 10.1A.
Did anyone encounter this problem or knows something to solve it?
(i'll post the code if you want to, but it's too simple )
Thanks in advance!
Tom D'hoore
I'm population a combo-box with list-item-pairs from a database table. In my case, it's possible that there are duplicate items, but with a different primary key.
In this case, I've the following data:
id: 0 - value: (empty)
id: 1 - value: Roeselare
id: 2 - value: Rumbeke
id: 3 - value: Oekene
id: 4 - value: Beveren-Roeselare
id: 5 - value: Roeselare
So the list-item-pairs is ",0,Roeselare,1,Rumbeke,2,Oekene,3,Beveren-Roeselare,4,Roeselare,5".
When I assign this to the combo-box and get it back again, it gives me ",0,Roeselare,5,Rumbeke,1,Oekene,2,Beveren-Roeselare,3,Roeselare,4"
I also tried to fill the combo-box using the add-last function, this works wel until the duplicate item is putted in.
Again, the list-item-pairs go from ",0,Roeselare,1,Rumbeke,2,Oekene,3,Beveren-Roeselare,4," to ",0,Roeselare,5,Rumbeke,1,Oekene,2,Beveren-Roeselare,3,Roeselare,4".
The Progress knowledge center brings me to Bug# OE00057192, which is for Progress 9.x and tells to upgrade to version 10.0A. We already have version 10.1A.
Did anyone encounter this problem or knows something to solve it?
(i'll post the code if you want to, but it's too simple )
Thanks in advance!
Tom D'hoore