refresh subform

pungentSapling

NeedHotSauce?
Local time
Today, 18:43
Joined
Apr 4, 2002
Messages
115
How can I force my subform to refresh from a cmd button on main form.

the button is supposded to calculate values in the subform based on some queries that run against subforms table,
but it doesn't work until i close and re open the forms. I am assuming that the info is not making it to the table thus not getting into the query.
 
If your subform is called mySubForm then

mySubForm.requery

should refresh the data in your subform.

Dave
 

Users who are viewing this thread

Back
Top Bottom