以下是引用wmok在2006-3-27 15:31:00的发言:
在MDB中,可以用docmd.runsql ""
可在ADP中不行,ADP中用这个CurrentProject.Connection.Execute "存储过程名,[参数]"是可以的,不过却要新增一下存储过程,这样又不行,不知道有没有朋友碰到过这样的问题?
CurrentProject.Connection.Execute "DELETE FROM WLZL WHERE WLBH = '" & Me.BMBH & "'"
欢迎光临 Office中国论坛/Access中国论坛 (http://www.office-cn.net/) | Powered by Discuz! X3.3 |