Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共2 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:如何连接3个数据源?

1楼
moseser 发表于:2024/1/2 16:04:00
BeforeConnectOuterDataSource事件中,
有三个数据源,如何启动软件的时候,分别连接上?


If e.Name = "project" Then
e.C & ProjectPath & "data\" & "pro.mdb;Persist Security Info=False"
End If

If e.Name = "costdata" Then
e.C & ProjectPath & "data\" & "costdata.mdb;Persist Security Info=False"
End If

If e.Name = "menu" Then
e.C & ProjectPath & "data\" & "menu.mdb;Persist Security Info=False"
End If

是这样吗?
2楼
有点蓝 发表于:2024/1/2 16:11:00
ProjectPath 改为 e.ProjectPath 
共2 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .02441 s, 2 queries.