Navigation:  DataServer Classes > DaoServer Class >

DaoServer:Skip() Method

Previous pageReturn to chapter overviewNext page

Purpose

Move the record pointer forward or backward a specified number of records.

 

Parameters

nToMovetThe number of records to move, relative to the current record.  A positive value means to move forward, and a negative value means to move backward.  If omitted, +1 is assumed.

 

Returns

TRUE if successful; otherwise, FALSE.

 

Description

Sends a NotifyIntentToMove message before the operation.  Sends a NotifyRecordChange message, if a move was made.

If DaoServer:Skip() positions the DaoServer beyond the last record, DaoServer:EOF will be set and the DaoServer will be positioned on the last record.

 

Class

DaoServer        

 

See Also

DaoRecordset:Move(), DaoRecordset:MoveNext(), DaoRecordset:MovePrevious()