Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
在BeforeConnectOuterDataSource事件中,获取 ProjectPath,结果为空,是怎么回事?
e参数属性:
Name: 外部数据源名称
User: 登录用户
ProjectFile: 项目文件名,含路径。
ProjectPath: 返回项目文件所在目录
ConnectionString: 返回或设置连接字符串。
HideSplashForm: 逻辑型,设为True,关闭Foxtable的启动封面。
If e.name = "成绩" Then
e.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & e.ProjectPath & "成绩数据.mdb;Persist Security Info=False"
End if