Good day . @cpurbaugh the code almost work the only thing is that it multiply the last line for the [DONOTYETKNOW] value for example: if i input 9 as the total of denomination lines it will get the last value and multiply by 9 and updates the balance_real value. i already saw this How to get sum of field from child table but i cant get it to work maybe you’ll get it … thanks again.