Office中国论坛/Access中国论坛

标题: access97中如何取得当前*.mdb所在的路径?[求助] [打印本页]

作者: iceblock    时间: 2003-11-9 03:29
标题: access97中如何取得当前*.mdb所在的路径?[求助]
在ACCESSXP中的方法是:Application.CurrentProject.path,但是在ACCESS97中不支持,请问在ACCESS97中如何取得当前*.mdb所在的路径??
作者: cg1    时间: 2003-11-9 04:04
currentdb.name
currentdb.path
有吗?
好久不用了,都快忘记了

作者: iceblock    时间: 2003-11-10 02:08
Left$(Application.CurrentDb.name, InStr(1, Application.CurrentDb.name, "*.mdb", vbTextCompare) - 1)




欢迎光临 Office中国论坛/Access中国论坛 (http://www.office-cn.net/) Powered by Discuz! X3.3