|
<< Click to Display Table of Contents >> DbiResetRange |
![]() ![]()
|
C syntax
DBIResult DBIFN DbiResetRange (hCursor);
Delphi syntax
function DbiResetRange (hCursor: hDBICur): DBIResult stdcall;
Description
DbiResetRange removes the specified cursor's limited range previously established by the function DbiSetRange.
Parameters
hCursor Type: hDBICur (Input)
Specifies the cursor handle of the table with the range to be removed.
Usage
DbiResetRange preserves the current position of the cursor.
Prerequisites
The cursor must be opened on an index.
Completion state
The function has no effect on existing filters.
If the cursor was positioned on a valid record before the call, it is left on the same record. If it was positioned on a crack, it is positioned there after the call.
DbiResult |
Meaning |
DBIERR_NONE |
The range was reset successfully. |
DBIERR_INVAIDHNDL |
hCursor is not valid. |
DBIERR_NOASSOCINDEX |
The specified table does not have an index open. |
See also