Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试更改以下代码以合并多个 selnames,167 和 789 都将使用与以下相同的查询。我已经尝试了几个建议,但没有运气 - 有什么想法吗?
代码:
IIf([selName]=167, DLookUp("[Desc]","[OptLQuery]","Index=selOptL"))
它应该是:
IIf([selName]=167 OR [selName]=789, DLookUp("[Desc]","[OptLQuery]","Index=selOptL"))