以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  BeforeConnectOuterDataSource问题::::::::  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=5744)

--  作者:mr725
--  发布时间:2010/1/8 20:12:00
--  BeforeConnectOuterDataSource问题::::::::
foxtable自带的例子: 多表统计.table   中:  (动态加载数据(外部数据源).table 也是如此!)

创建外部数据源按钮中连接字符串是:
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\\chmHelp\\CaseStudy\\多表统计.mdb;Persist Security Info=False

而在项目事件BeforeConnectOuterDataSource中这样设置:
If e.name = "Sale" Then
    e.C & e.ProjectPath & "多表统计.mdb;Persist Security Info=False"
End if


两个路径是不一样的? 打开时怎么不会报错>???  且修改数据可以同步到 " & e.ProjectPath & "多表统计.mdb;Persist Security Info=False"  这个路径中保存?   自己做的项目为何不可以 ???