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.
我创建了一个未绑定的列表框。我有一个显示我希望用户能够选择的查询列表的框。我的问题是我不明白如何让提交按钮选择当前选择的查询并运行它。
那么如何将提交按钮链接到列表框并让框中的每个项目提交自己的查询。
列表框是否包含查询名称或实际 SQL?无论哪种方式,像
CurrentDB.Execute(Me![ListBox])
在提交按钮事件处理程序中应该让你朝着正确的方向前进。