看,有一个存储过程proABC,有四个参数,调用时:
set r=CurrentProject.Connection.Execute ("exec proABC " & ID & "," & A & "," & B & ",'" & 日期 & "'")
看看,这样调用真不爽。如果能这样就好了。
set r=GetTSQLProc("proABC",ID,A,B,日期)
有了它,就能梦想成真了。
点击浏览该文件
欢迎光临 Office中国论坛/Access中国论坛 (http://www.office-cn.net/) | Powered by Discuz! X3.3 |