Code: Select all
put "SELECT * from annuali" into sqlAnnuali
put revDataFromQuery(tab,return,connID,sqlAnnuali) into tAnnuali
answer tAnnuali
put item 2of tAnnuali into field "txtFerieAnnuali"
which they are respectively the id and two fields of the table.
I'm interested in 29,12 and 8,21 because they want to place in the two text boxes.
The problem arises because, with put item 2of tAnnuali into field "txtFerieAnnuali" due to the fact that they are figures with the decimal point, disrupts the data and mixes the numbers recovering 13 8.
Since I can not avoid the point because the decimal point is important in this case how do I fix?
Thank you.