admin 发表于 2014-12-26 20:43
Dim appAcc As Access.Application
appacc.OpenCurrentDatabase "c:\db1.mdb"
roych 发表于 2014-12-27 09:48
加上New试试?
Dim appAcc As New Access.Application
appAcc.OpenCurrentDatabase "D:\ABC\A1.mdb"最好 ...
sxgaobo 发表于 2014-12-27 22:13
谢谢版主的关注!
我在论坛里找到了另种方法(不好意思,忘了是哪位朋友发的)
Dim RetVal
欢迎光临 Office中国论坛/Access中国论坛 (http://www.office-cn.net/) | Powered by Discuz! X3.3 |