troubleshooting Question

How have field recalculate on form #1 when form #2 closes

Avatar of SteveL13
SteveL13Flag for United States of America asked on
Microsoft Access
7 Comments1 Solution219 ViewsLast Modified:
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
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros