Value list item selection doesn't work well

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

Value list item selection doesn't work well

Postby Riccardino » Wed Jul 09, 2003 8:56 am

Hi,

after installing the new 1.1 release, I still have problems when I select a value from a field generated value list.
If I choose the item, its value is not copied into the field.
If I move back and forward, click out of the field 3/4 times, the value is accepted (most of the times).
The valuelist is a simple list of names, the backend is MySQL.
User avatar
Riccardino
 
Posts: 911
Joined: Thu Apr 24, 2003 11:42 am
Location: Ferrara, Italy

Postby maarten » Thu Jul 10, 2003 5:58 pm

Hi Ricardo,

Is the field set to NON-editable?
(when using combo box , always set to non editable by default).

Did you check field properties length and type ? eg: varchar(10)
Maarten Berkenbosch
User avatar
maarten
 
Posts: 797
Joined: Wed Apr 23, 2003 10:52 pm
Location: Amersfoort, Netherlands

Postby jcompagner » Fri Jul 11, 2003 4:41 pm

Riccardino,

what do you exactly use?

You have a combo box where a value list is attached to (related? whole table?) And in what kind of view is that combo box in? (ListView, RecordView or maybe a portal?)
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Postby Riccardino » Fri Jul 11, 2003 8:39 pm

jcompagner wrote:Riccardino,

what do you exactly use?

You have a combo box where a value list is attached to (related? whole table?) And in what kind of view is that combo box in? (ListView, RecordView or maybe a portal?)


Whole table, record view. It's a value list that retrieves all the director's names from the same table.
User avatar
Riccardino
 
Posts: 911
Joined: Thu Apr 24, 2003 11:42 am
Location: Ferrara, Italy

Postby Riccardino » Fri Jul 11, 2003 8:45 pm

maarten wrote:Hi Ricardo,

Is the field set to NON-editable?
(when using combo box , always set to non editable by default).


Oops: I didn't know. I'll try immediately. It could be the answer...
But, why has the field to be set non editable?

maarten wrote:Did you check field properties length and type ? eg: varchar(10)


Text, 250 characters

Bye RicCardo :wink:
User avatar
Riccardino
 
Posts: 911
Joined: Thu Apr 24, 2003 11:42 am
Location: Ferrara, Italy

Postby Riccardino » Fri Jul 11, 2003 8:55 pm

Riccardino wrote:
maarten wrote:Hi Ricardo,

Is the field set to NON-editable?
(when using combo box , always set to non editable by default).


Oops: I didn't know. I'll try immediately. It could be the answer...


Hi again, Marteen

setting the field non editable seems to remove the problem, but now I'm encountering a different one: how can I insert a new director in the list?

Thanks
User avatar
Riccardino
 
Posts: 911
Joined: Thu Apr 24, 2003 11:42 am
Location: Ferrara, Italy

Postby jcompagner » Thu Jul 17, 2003 10:57 am

The editable combo problem not setting the value is fixed in the next build after RC4 (please try it when it is out)
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Postby Riccardino » Sun Aug 03, 2003 5:29 pm

jcompagner wrote:The editable combo problem not setting the value is fixed in the next build after RC4 (please try it when it is out)


I'm having the same problem (RC5, build 257): the name disappears if I switch to another field using tab, if I press enter, the value seems to be stored, but it doesn't appear on the field if formatted as a combo box.
User avatar
Riccardino
 
Posts: 911
Joined: Thu Apr 24, 2003 11:42 am
Location: Ferrara, Italy

Postby jcompagner » Mon Aug 04, 2003 2:39 pm

Riccardino ,

i can't reproduce this or i am doing something wrong..

i have a form in record view there i have 3 fields on
2 textfields and one combo,

this combo maps to a text column in the database.
I attached a custom value list of 3 text string (test1,test2,test3)
the combo is editable.

now i can tab in it and then select one of the list or type my own string and tab out of it.
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Postby Riccardino » Mon Aug 04, 2003 2:43 pm

jcompagner wrote:Riccardino ,

i can't reproduce this or i am doing something wrong..

i have a form in record view there i have 3 fields on
2 textfields and one combo,

this combo maps to a text column in the database.
I attached a custom value list of 3 text string (test1,test2,test3)
the combo is editable.

now i can tab in it and then select one of the list or type my own string and tab out of it.


If I write something in the combo (entering a value that doesn't belong to the valuelist), after tabbing out of the field, the text in the combo disappears.
This way, I can't add new values to the field...
User avatar
Riccardino
 
Posts: 911
Joined: Thu Apr 24, 2003 11:42 am
Location: Ferrara, Italy

Postby jcompagner » Mon Aug 04, 2003 3:11 pm

very strange that is what i tried to reproduce.

Can you send me an simple example solution which shows that?
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Postby Riccardino » Mon Aug 04, 2003 5:07 pm

jcompagner wrote:very strange that is what i tried to reproduce.

Can you send me an simple example solution which shows that?


Sure. It's a very basic solution using a mysql table reached via internet.
User avatar
Riccardino
 
Posts: 911
Joined: Thu Apr 24, 2003 11:42 am
Location: Ferrara, Italy

Postby Jan Blok » Thu Aug 07, 2003 2:14 pm

We have found and fixed this behaviour, available after rc5
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam


Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: No registered users and 9 guests

cron