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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top