Refreshing Values in Subform

  • Thread starter Thread starter Joe
  • Start date Start date
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
 
Private Sub Form_AfterInsert()
Forms![frmMain]![subformName].Requery
End Sub

something like this should do it.
 
Back
Top