|
<< Click to Display Table of Contents >> DbiUnlinkDetail |
![]() ![]()
|
C syntax
DBIResult DBIFN DbiUnlinkDetail (hDetlCursor);
Delphi syntax
function DbiUnlinkDetail (hDetlCursor: hDBICur): DBIResult stdcall;
Description
DbiUnlinkDetail removes the link from a detail cursor and its master.
Parameters
hDetlCursor Type: hDBICur (Input)
Specifies the detail cursor handle.
Usage
Links should be removed before calling DbiEndLinkMode.
Prerequisites
A call to DbiLinkDetail or DbiLinkDetailToExp.
Completion state
The cursors are no longer related to each other, but remain in the linked cursor mode. The function unlinks hDetlCursor from its master table, leaving hDetlCursor as a linked cursor associated with no master cursor. Thus, the detail cursor is not constrained by its master.
DbiResult |
Meaning |
DBIERR_NONE |
The link between the detail and master cursors was removed successfully. |
DBIERR_INVALIDHNDL |
The specified cursor handle is invalid or NULL. |
See also
DbiLinkDetail, DbiLinkDetailToExp, DbiBeginLinkMode, DbiEndLinkMode