发布于 2006-04-30 15:55:42
0楼
另外,打开记录集时,不需要Command,直接用RecordSet就行了。
If rst.State <> adStateClosed Then rst.Close
Set rst.ActiveConnection = cn
With rst
.CursorLocation = adUseClient
.CursorType = adOpenStatic
.LockType = adLockReadOnly
.Source = "select * from Taguncompressed"
.Open
End With
无论成与败,无论甜与苦,我还是我。