Currently, there is a form with a child table. I would like to use programming code to edit the quantity field of each record in the child table and also triggers the update function of the quantity field to update the total amount field of that record.

Could anyone tell me the syntax to write the code.