Requery a subform from another form?

前端 未结 7 1078
迷失自我
迷失自我 2021-02-02 18:02

I\'ve struggling with this problem on my own, then with some help, then search about it; but I haven\'t had any luck. So I decided to ask.

I have two forms in Access

相关标签:
7条回答
  • 2021-02-02 19:05

    You must use the name of the subform control, not the name of the subform, though these are often the same:

     Forms![MainForm]![subform control name Name].Form.Requery
    

    Or, if you are on the main form:

     Me.[subform control name Name].Form.Requery
    

    More Info: http://www.mvps.org/access/forms/frm0031.htm

    0 讨论(0)
提交回复
热议问题