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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Default Cursor Position

Status
Not open for further replies.

jhein

Programmer
Feb 17, 2003
46
0
0
CA
When I have a recordset come back from the database (LockType = adLockBatchOptimistic, CursorType = adOpenStatic and CursorLocation = adUseClient) I know it is probably good practice to do a recordset.MoveFirst on that recordset before performing any actions with it, but I am just curious as to whether or not the MoveFirst is necessary? It seems as if the default cursor location is on the first record...is this true?
 
Yes

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
however, it is always safe to invoke the .MoveFirst method. I had once experienced where it did not start from the very first record.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top