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 MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Recalc all records in a subform on open?

Status
Not open for further replies.

DwayneS

Instructor
Mar 29, 2002
70
I have a form with a subform. I am using SQL to populate the table which is the source of data for the subform. When I open the main form, I want the subform to update its calculations (I'm calculating a lot of numbers and displaying them for the user). Presently, I need to at least "touch" each one before I can get them to recalc. Is there a simple and reliable way to recalc all the sub records on open?

Dwayne Streeter, CPA, CITP
 
Maybe you can try on the Open_Event of the subform:

Me.Recalc

Pampers [afro]
Just let it go...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top