Link to home
Start Free TrialLog in
Avatar of Hankwembo Christopher,FCCA,FZICA,CIA,MAAT,B.A.Sc
Hankwembo Christopher,FCCA,FZICA,CIA,MAAT,B.A.ScFlag for Zambia

asked on

Refreshing A subform

Hi

Kindly advise whether the code below can refresh the sub form properly:

Private Sub Refresh_Click()
DoCmd.Save
DoCmd.Close
Docmd.Opern Form " Accounts"
End Sub

I have tried the Me.Requery nothing seams working up

Regards

Chris
ASKER CERTIFIED SOLUTION
Avatar of Pawan Kumar
Pawan Kumar
Flag of India image

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
Avatar of Hankwembo Christopher,FCCA,FZICA,CIA,MAAT,B.A.Sc

ASKER

On after update event??????????
Or do you mean like this

Private Sub Refresh_Click()
DoCmd.Save
Me.yourSubFormConyrol.Form.Requery
End Sub
Hi,
You need to select my comment and then click on the submit. That's the way we close the questions.