i have a mian form called frmMain, contains a sub form called frmSub
on the frmMain i have a button to open another form called frmAdd, on this form I have close button , when I click close button I would like to requery frmSub
using this code below:
Code: Select all
Forms!frmMain!frmsub.Form.Requery
DoCmd.Close acForm, "frmAdd"
i have read on this and found this good article which I like to share too for other to get advantage from it.
http://access.mvps.org/access/forms/frm0031.htm