Click or drag to resize

VoDbSkip Function

X#
Move the record pointer relative to the current record.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax
 FUNCTION VoDbSkip(
	liRecords AS LONG
) AS LOGIC
Request Example View Source

Parameters

liRecords
Type: Long
The number of logical records to move, relative to the current record.
A positive value means to skip forward, and a negative value means to skip backward.

Return Value

Type: Logic
TRUE if successful; otherwise, FALSE.
Remarks
VODBSkip() is like DBSkip() but is strongly typed.
This function, however, does not call the error handler and will not, therefore, produce a runtime error message or create an error object if it fails. Thus, it may be important to check the return value to determine if the function succeeded.
The global structure, StrucErrInfo, will contain needed information regarding any error that occurs. See DBSkip() for more information and an example.
Examples