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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Or do you mean like this
Private Sub Refresh_Click()
DoCmd.Save
Me.yourSubFormConyrol.Form .Requery
End Sub
Private Sub Refresh_Click()
DoCmd.Save
Me.yourSubFormConyrol.Form
End Sub
Yes.
Hi,
You need to select my comment and then click on the submit. That's the way we close the questions.
You need to select my comment and then click on the submit. That's the way we close the questions.
ASKER