DbiOpenUserList

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

DbiOpenUserList

Return to chapter overview

C syntax

DBIResult DBIFN DbiOpenUserList (phUsers);

Delphi syntax

function DbiOpenUserList (var hUsers: hDBICur): DBIResult stdcall;

Description

DbiOpenUserList creates a table containing a list of users sharing the same network file.

Parameters

phUsers                Type: phDBICur                (Output)
Pointer to the cursor handle.

Usage

DbiOpenUserList is supported for Paradox only.

Completion state

Each of the user records can be retrieved using DbiGetNextRecord. DbiGetCursorProps can be used to allocate the proper record size. After the record is retrieved, it can be cast with the USERDesc type definition, and used like a USERDesc C language structure.

DbiResult

Meaning

DBIERR_NONE

The user list was returned successfully.

DBIERR_INVALIDHNDL

phUsers is NULL.