View Full Version : domino连接关系型数据库
seamail
04-03-05, 01:45 PM
我想用domino连接到关系型数据库,是不是配置完odbc数据源,就可以用@dblookup等公式存取数据了呢,还需要其它的设置安装其它的辅助软件吗?
This agent declares a new ODBCConnection object and displays the name of the available data sources. You must include the Uselsx "*LSXODBC" statement in the (Options) script of the agent.
Uselsx "*LSXODBC"
Sub Initialize
Dim con As New ODBCConnection
Dim msg As String
Dim dsnList as Variant
dsnList = con.ListDataSources
For n% = Lbound(dsnList) To Ubound(dsnList)
msg = msg & dsnList(n%) & Chr(10)
Next
Messagebox msg,,"List of DSNs"
End Sub
看下这段 希望能启发一下你
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.