DIMENSION arrdb(1) AS int arrdb = 0 Text to msel textmerge noshow pretext 7 Select 50 as desconto union all select 100 as desconto Endtext If u_SQlexec(msel,[CrsDescontos]) select CrsDescontos Scan AAdd('arrdb',ASTR(CrsDescontos.desconto)) &&Here i have the values for my combobox: 0, 50,100 Endscan FECHA([CrsDescontos]) Endif After that i make Update on field desconto of my table.My combobox give me the values : 0, 50, 100, but where i choose for example 50, my document are update with 2.