
Originally Posted by
fadone
I have a subform on the main form with one to many relationship.I just want one of the field on the subform to update the corresponding field on the mainform,as follows:
Field names; On the main form : Total Amount Paid
On the subform:Amount Paid
Every time user enters Amount Paid on the subform,it should add up to the Total Amount Paid on the main form...
Help please!!!!!!!!!!
Try using an AfterUpdate event sub on the subform's AmountPaid control that forces the main form to requery:
Code:
Private Sub MyControl_AfterUpdate()
Forms("MainForm").Requery
End Sub