X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

ADO Move Method


Recordset Object Reference Complete Recordset Object Reference

The Move method moves the record pointer in a Recordset object.

Note: This method can be used on all Recordset objects.

Syntax

objRecordset.Move numrec,start

Parameter Description
numrec Required. Specifies how many records the record pointer will move.

Example: If this parameter is set to 3, the record pointer moves 3 records forward.

Example: If this parameter is set to -3, the record pointer moves 3 records backward

start Optional. Where to start. Can be a bookmark or a BookmarkEnum value


BookmarkEnum

Constant Value Description
adBookmarkCurrent 0 Starts at the current record
adBookmarkFirst 1 Starts at the first record
adBookmarkLast 2 Starts at the last record


Recordset Object Reference Complete Recordset Object Reference

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook