Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening a Recorset with adCmdTable option

Status
Not open for further replies.

Giddygoat

Programmer
May 16, 2001
36
GB
When I open a recordset with the adCmdTable option does the whole table get loaded into memory?

With rs
.CursorType = adOpenKeyset
.LockType = adLockOptimistic
.Open "A_BIG_TABLE", sConnect, , , adCmdTable
End With

Or does ADO only get the daya when I ask for it, i.e.

With rs
.CursorType = adOpenKeyset
.LockType = adLockOptimistic
.Open "A_BIG_TABLE", sConnect, , , adCmdTable
while not .eof
' Do stuff
.movenext
wend
.close
End With


Hope you can help

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top