【发布时间】:2021-11-30 07:33:48
【问题描述】:
我设计了一个表,其中包含 ID、Impact、Impact_if_Other 字段。 Impact 被设计为 Form 中的一个下拉框。只有当用户从 Impact 下拉列表中选择“Other”时,我才希望 Impact_if_Other 字段在表单中可编辑。这在表单设计中如何实现?
谢谢!!
【问题讨论】:
-
可以使用条件格式根据 Impact 的值启用/禁用 Impact_if_Other 文本框。但是,如果用户将 Impact 从 Other 更改为其他内容,则需要代码(宏或 VBA)从 Impact_if_Other 中删除值(如果有)。
标签: ms-access