Link to home
Start Free TrialLog in
Avatar of elise061298
elise061298

asked on

Requery Main Form from SubForm

I can't get a requery to occur on a main form from the AfterUpdate event of a control on the subform.  I have a control on the main form that is a calculated field, SUM(), for an aggregate, SUM()again, in the underlying query.
Avatar of Helicopter
Helicopter

have you tried me.parent.yourcontrol.requery?
or try Me.Parent!yourcontrol.ReQuery where yourcontrol is a calculated control on the main form

ASKER CERTIFIED SOLUTION
Avatar of ABE2276
ABE2276

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
oops !
please, replace datasource for fld2=sum(fld0*fld1)