how do I link a subform to a list in main form vba

2019-09-09 17:35发布

I have a subform that I want to link to a list on main form, and If I change the value in list, then the content of subform should be changed to, how can I do this job?

1条回答
女痞
2楼-- · 2019-09-09 18:00

CLick on your subform frame and use the link properties:

Subform Data Properties

The Link Master Fields should be your listbox, and the Link Child Fields should be its corresponding foreign key field in the subform.

查看更多
登录 后发表回答