Refreshing Values in Subform

J

Joe

hi,

how can i refresh values in a subform ?

i have a button in the main form that changes the values if a field in
the subform but it does not refresh automatically. is there a command
that can do this for me?

thx
 
F

frank

Private Sub Form_AfterInsert()
Forms![frmMain]![subformName].Requery
End Sub

something like this should do it.
 
Top