Click or drag to resize

DbServer.Skip Method (Typed)

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

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VORDDClasses (in XSharp.VORDDClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD Skip(
	 nRecordCount AS LONG
) AS LOGIC
Request Example View Source

Parameters

nRecordCount
Type: Long
The 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.

Return Value

Type: Logic
TRUE if successful; otherwise, FALSE.
Remarks
Sends a NotifyIntentToMove message before the operation.
Sends a NotifyRecordChange message, if a move was made.
If DBServer:Skip() positions the DBServer beyond the last record, DBServer:EOF will be set and the DBServer will be positioned on the last record.
See Also