Data loss using a valuelist in a not-editable table view

Forum to discuss the Web client version of Servoy.

Data loss using a valuelist in a not-editable table view

Postby ngervasi » Thu Jun 14, 2007 11:31 am

I have a form in table view with all the fields set to Not-Editable, one of the fields is a text_field and has a value list attached.
The value list is designed to translate on the fly the field content without changing the DB stored value:

Germania|Germany
Messico|Mexico
Inghilterra|UK
Svezia|Sweden

In webclient, whenever I switch from the table view form to another form, ALL the records in the foundset are updated changing the db stored value with the value list display value.
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Postby jcompagner » Fri Jun 15, 2007 3:52 pm

i fixed this in 3.1.6 for none editable fields with a valuelist attached to it (and the value list is text|text conversion)

In 3.1 you can't use editable fields with a valuelist that has a string to string conversion. This is only fixed in 3.5
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Postby ngervasi » Fri Jun 15, 2007 4:02 pm

Thanks Johan, I will use a calculation to translate that field for display purposes.
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 19 guests