在表单中,正确的MS访问表达式是什么是从与同一表中另一个字段相关的一个字段返回值的正确的?

发布于 2025-01-26 15:01:52 字数 262 浏览 2 评论 0原文

我在国际巡回演出中有一个学生旅行者的数据库。每个学生都选择其他三个作为室友,我需要将每个室友([R2] [R3]和[R4])与各自的联系电话相关联。我认为Dlookup函数可以起作用,但是似乎存在错误。

= dlookup(“ [旅行中的电话号码]”,“ [2022年6月的旅行者]”,“ [tour上的电话号码

]表格中的重复字段包括与[R2],[R3]和[R4]相关的适当电话号码;但是,我试图避免重复现场内容。

有人对此有任何想法吗?

提前致谢。

I have a database of student travelers on an international tour. Each student picks three others as roommates, and I need to associate each roommate ( [R2] [R3] and [R4] ) with their respective contact phone numbers. I thought a DLookup function would work, but there seems to be an error.

=DLookUp("[Phone Number on Tour]","[June 2022 Travelers]","[Phone Number on Tour] = " & Forms("Rooming Roster")("[R2]"))

I can obviously create duplicate fields in the table to include the appropriate phone number associated with [R2], [R3], and [R4]; however, I'm trying to avoid having to duplicate field content.

Anyone have any thoughts on this?

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文