Si tienes en la tabla detalles:
Albaran---linea---articulo---cantidad---precio
3............1.......ABC.........5.........30
3............2.......DEX........10.........10
3............3.......JRJ........50.........13
3............4.......CUC.........3.........23
Y ahora edtas la linea 3 porque no eran 50, sino 55 unidades, haces:
Código SQL
[-]udpate tbDetalles set cantidad=55 where albaran=3 and linea=3