Dim conn As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim strSQL As String
Set conn = CurrentProject.Connection
strSQL = "select * from 表1"
rs.Open strSQL, conn, 1, 3
Dim conn As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim strSQL As String
Set conn = CurrentProject.Connection
strSQL = "select * from 表1"
rs.Open strSQL, conn, 1, 3
...
Grant 发表于 2009-11-9 01:04