# Value list problem

**URL:** <https://forum.servoy.com/t/value-list-problem/256>\
**Category:** Classic Servoy\
**Created:** [August 12, 2003, 3:45pm UTC](https://forum.servoy.com/t/value-list-problem/256 "2003-08-12T15:45:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [August 12, 2003, 3:45pm UTC](https://forum.servoy.com/t/value-list-problem/256/1 "2003-08-12T15:45:17Z")

</div>

Hello, I have a problem regarding value lists that I didn’t have before (in older versions). I have a table adresses with a column called uid\_type (integer). Then I have a table called adresstypes with uid\_type, type (text). Now I want a value list on the field uid\_type in an adress form that shows me all the types and returns the uid\_type.

what happens is this: the value list shows all values correctly. when choosing a value, the field uid\_type in the form (and the database) remains empty. when I look at the value list again, it has “forgotten” which table to draw the values from (although shown in the list). when pointing again to the proper table and saving, everything seems ok except whatever I choose the field remains empty. I have created a new empty solution with just what I described: same result.

Am I missing something or is there a value list related bug in 1.1?

Thanks.

---

<div class="post-metadata">

**Author:** ![maarten](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@maarten](https://forum.servoy.com/u/maarten)\
**Post date:** [August 13, 2003, 7:14am UTC](https://forum.servoy.com/t/value-list-problem/256/2 "2003-08-13T07:14:39Z")

</div>

Hi Patrick,

I’ve done a similar set up but can’t reproduce your problem.  
Did you make sure your the field where the valuelist is attached to, is set to non editable?

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [August 13, 2003, 10:32am UTC](https://forum.servoy.com/t/value-list-problem/256/3 "2003-08-13T10:32:28Z")

</div>

No I haven’t. So I missed something… Now it works. Thank you.

P.S.: was it always like this (setting the field non editable)?

---

<div class="post-metadata">

**Author:** ![maarten](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@maarten](https://forum.servoy.com/u/maarten)\
**Post date:** [August 13, 2003, 10:52am UTC](https://forum.servoy.com/t/value-list-problem/256/4 "2003-08-13T10:52:52Z")

</div>

Yes, by default one always have to set valuelist field to non editable.

Logical step would be, letting the system automatically set this property when setting a field to combobox type, but unfortunately this is technically not possible (yet). So for the time being you’ll have to be aware of this “pitfall”.

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [August 18, 2003, 6:20pm UTC](https://forum.servoy.com/t/value-list-problem/256/5 "2003-08-18T18:20:27Z")

</div>

When you add a valuelist that has different display dataproviders then return dataproviders to a combo. Then that combo wil always be noneditable no matter what the editable property is.

We still have to check if this is OK. And can be done in all cases when return != display.

it will be in the next build (after 1.1)
