Dim adoCurCon As New ADODB.Connection Set adoCurCon = CurrentProject.Connection '去掉这拆销棚斗颂句旅则Dim AdoCurResTM As New.ADODB.Recordset Set AdoCurResTM = adoCurCon.Execute(strSql) '去掉这句AdoCurResTM.Open strSql,adoCurCon,2,2