lotus中更新SQL SERVER
米か臹 2009-06-09 04:45:50 SQL SERVER有个字段 status
怎样去修改它的值
下面代码是连接数据库的
Dim str_ipAddress As String
Dim str_userName As String
Dim str_password As String
Dim str_DBName As String
Dim conn As Variant
Dim strConn As String
Dim strsql As String
str_ipAddress = "192.168.1.8"
str_userName = "sa"
str_password ="sa"
str_DBName = "CardData"
Set conn = CreateObject("ADODB.Connection")
strConn = "Provider=SQLOLEDB.1;Persist Security Info=true;Server="+ _
str_ipAddress+";User ID="+str_userName+";pwd="+str_password+";database=" + str_DBName
conn.Open strConn
接下去怎么写呢?请求帮助