是不是只有创建存储SQL过程的方法才能编写如下的VBA函数?创建存储过程的最佳方法
Public Function CreateProc()
Dim strProc As String
strProc = "Create Procedure qryCustByCity " & _
"(prmCity varchar) as " & _
"select * from Customers where City = prmCity"
CurrentProject.Connection.Execute strProc
End Function
还是有更方便的方法?像交互式命令提示符会很棒。
http://stackoverflow.com/questions/3287545/how-do-i-make-a-stored-procedure-in-ms-access是什么ü寻找什么? – paragy