我如何将子窗体链接到主窗体VBA访问中的列表 [英] how do I link a subform to a list in main form vba access

查看:59
本文介绍了我如何将子窗体链接到主窗体VBA访问中的列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个要链接到主表单上的列表的子表单,并且如果我更改列表中的值,那么该子表单的内容应该更改为,该怎么做?

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?

推荐答案

单击子窗体框架并使用链接属性:

CLick on your subform frame and use the link properties:

Link Master Fields应该是您的列表框,而Link Child Fields应该是子窗体中其对应的外键字段.

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

这篇关于我如何将子窗体链接到主窗体VBA访问中的列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆