>I had to put this "cleaning" code in the beggining of the method
>
>Seems redundant ?
>
Try instead
local TOTAL_final, ;
total_cobrar, ;
excesso, ;
resto1, ;
cobra_ex, ;
total_min_master, ;
iniTurnos, ;
restoTR, ;
nTurnos, ;
cbTurnos
>*************************************************************BEGIN CLEANING*************************
>thisform.text26.Value = 0
>TOTAL_final = 0
>total_cobrar = 0
>excesso = 0
>resto1 = 0
>cobra_ex = 0
>total_min_master = 0
>iniTurnos = 0
>restoTR = 0
>nTurnos = 0
>cbTurnos = 0
>
>************************************************************END CLEANING*************************
If it's not broken, fix it until it is.
My Blog