Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sum on subforms not refreshed

Status
Not open for further replies.

sedighahmad

Programmer
Mar 12, 2006
1
IR
I have a form whith a sub form .in master form i have a field that show sum of fields in sub form.when if filter in subform that change count of records in subform but dont chaneg field in master form .help!!!!!
 
Create a procedure on the subform's "afterUpdate" event that will refresh the parent form.

Private Sub Form_AfterUpdate()
Forms!MasterForm.refresh
' or Forms!MasterForm.requery
End Sub

-Souldude
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top