Am experiencing difficulties in updating main table after doing update from subform. i have two tables Customer and Customertrans. Customer should be updated when user updates customertrans through subform. After update of subform (customertrans table) i would like to sum all amount for accno=SCM0134 and update customer.paid column with the sum amount. Am not able to achieve this.
Customer
- ACCNO ACCNAME DESCRIPTION CONTRACT WORKDONE INVOICED WIP PAID BALANCE
- SCM0134 PETER MUTUKU SUPPLY OF 2NOS. H/D CONCRETE MIXER CW ENGINE 649,600.00 400,000.00 -400,000.00 -400,000.00
Customertrans
- ACCNO ACCNAME DESCRIPT CUMMBAL AMOUNT INVOICED BALANCE
- SCM0134 PETER MUTUKU SUPPLY OF 2NOS. H/D CONCRETE MIXER CW ENGINE -200000 2 -200000
- SCM0134 PETER MUTUKU SUPPLY OF 2NOS. H/D CONCRETE MIXER CW ENGINE -400000 -200000 -400000
- SCM0134 PETER MUTUKU SUPPLY OF 2NOS. H/D CONCRETE MIXER CW ENGINE 400000 0
- SCM0134 PETER MUTUKU SUPPLY OF 2NOS. H/D CONCRETE MIXER CW ENGINE -500000 -100000 -500000
- SCM0134 PETER MUTUKU SUPPLY OF 2NOS. H/D CONCRETE MIXER CW ENGINE -648600 -148600 -648600
- SCM0134 PETER MUTUKU SUPPLY OF 2NOS. H/D CONCRETE MIXER CW ENGINE 248600 0
Thanks
Joseph