DbiIsTableShared

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

DbiIsTableShared

Return to chapter overview

C syntax

DBIResult DBIFN DbiIsTableShared (hCursor, pbShared);

Delphi syntax

function DbiIsTableShared (hCursor: hDBICur; var bShared: Bool): DBIResult stdcall;

Description

DbiIsTableShared determines whether the table is physically shared or not.

Parameters

hCursor                Type: hDBICur                (Input)
Specifies the cursor handle.

pbShared                Type: pBOOL                (Output)
Pointer to the client variable. Set to TRUE if the table is physically shared.

Usage

Standard: The table is physically shared if it is placed on a shared drive (network, or local drive when LOCALSHARE in the configuration is TRUE), and the table is not opened exclusively. If a table is shared, dirty data is not buffered. The table is available to all users in the session, unless acquired table or record locks have been placed since the table was opened.

DbiResult

Meaning

DBIERR_NONE

The table shared status was returned successfully.

DBIERR_INVALIDHNDL

The specified cursor handle is invalid or NULL.

DBIERR_INVALIDPARAM

pbShared is NULL.

See also

DbiOpenTable, DbiAcqTableLock, DbiAcqPersistTableLock, DbiRelTableLock, DbiRelPersistTableLock, DbiForceReread, DbiCheckRefresh