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.
我一直在为MS Access工资单工作。你如何在 VBA 函数中调用已经在 Access 中进行的查询?
MS Access
Public Function InsertAndUpdate() //i want my queries here for conditioning End Function
Dim dbs As DAO.Database Dim rs As DAO.Recordset Set dbs = CurrentDb Set rs = dbs.OpenRecordset("Your_Query_Name")