I have a field on form #1 named "txtTotOPcost". This is a calculated field and the control source is... =Nz(DSum("[Cost]","tblOutpurchase","[EstN] = " & Chr(34) & [Forms]![frmEstimateHeader]![txtRealEstN] & Chr(34)),0)
When form #2 closes (record source for that form is "tblOutpurchase" I want the field named "txtTotOPcost" on form #1 to recalculate and show the sum total values of "Cost" in "tblOutpurchase".
I can't figure out how to make it recalculate or refresh or whatever I need to do to make the value show up. If I close form #1 and reopen it the value does display correctly.
--Steve
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Most Valuable Expert award recognizes technology experts who passionately share their knowledge with the community, demonstrate the core values of this platform, and go the extra mile in all aspects of their contributions. This award is based off of nominations by EE users and experts. Multiple MVEs may be awarded each year.