DBF ISEXCLUSIVE()
From Lianjapedia
PURPOSE
Is table opened exclusively
SYNONYM
api_dbf_isexclusive()
SYNOPSIS
#include "lianja_api.h" int DBF_ISEXCLUSIVE() <input parameters> none <output parameters> none
DESCRIPTION
The DBF_ISEXCLUSIVE() function will return 1 if the currently active table is opened for exclusive use, 0 if it is opened shared and -1 if there is no table open in the current cursor.
The command SET EXCLUSIVE or the EXCLUSIVE key word used with the command USE, control how the table is opened.
EXAMPLE
The following example returns .T. if the table is opened for shared access.
#include "lianja_api.h" lianjaapi_dbf_isexclusive() { int result; result = DBF_ISEXCLUSIVE(); _retl ( ( result ) ? 0 : 1 ); }
SEE ALSO
BLOB_UPDATE(), BLOB_WRITE(), DBF_APPEND(), DBF_DELETE(), DBF_ISREADONLY(), DBF_LOCKF(), DBF_LOCKR(), DBF_RECALL(), DBF_UNLOCKF(), DBF_UNLOCKR(), DBF_UPDATE(), FIELD_UPDATE(), MEMO_UPDATE(), MEMO_WRITE()