Z
zzz
Unregistered / Unconfirmed
GUEST, unregistred user!
Dim ADOrs As New ADODB.Recordset
Dim ADOconn As New ADODB.Connection
ADOconn.Open ("Driver={Microsoft ODBC for Oracle};Server=" & strServer & ";Uid=" & strUserName & ";Pwd=" & strPassword)
strSQL = "SELECT ..."
rs.Open strSQL, ADOconn, 1, 1
If rs.RecordCount > 0 Then //不行的机器返回-1,正确的机器为一正整数
...
这主要涉及哪方面的问题?谢谢
Dim ADOconn As New ADODB.Connection
ADOconn.Open ("Driver={Microsoft ODBC for Oracle};Server=" & strServer & ";Uid=" & strUserName & ";Pwd=" & strPassword)
strSQL = "SELECT ..."
rs.Open strSQL, ADOconn, 1, 1
If rs.RecordCount > 0 Then //不行的机器返回-1,正确的机器为一正整数
...
这主要涉及哪方面的问题?谢谢