Hi everybody,
I’ve a little problem with a text field inside a form.
This is the definition in Xml:
and this is the command that i use to setItemValue:
magForm3.setItemValue(“codice”,preSaldiGrid.cells(preSaldiGrid.getSelectedRowId(),1).getValue());
the preSaldiGrid is binded to DB where the field is defined as varchar(13).
The Grid shows : 0000000000001 that is correct (i want the zeroes) but when i setItemValue on the field in the form, this shows 1 as it was a numeric. I tried every transformation but nothing. Is there a bug or there something that i can do to solve this problem.
Many thanks.