MS Access: passing parameters from one access form to another

后端 未结 4 1629
感情败类
感情败类 2021-01-13 19:12

I\'ve got a form and a button on it. I would like to open another form on a button click with a parameter passed from the parent form to the child form (child form\'s Record

4条回答
  •  旧时难觅i
    2021-01-13 19:41

    If the parent form is open, you can do the following

    Forms!MyParentForm!myPublicVariableOfParentForm
    

    There could be other ways, whereby you can call a method on the child form with a parameter from the parent form. Remember the control will likely need focus before being manipulated.

提交回复
热议问题