Difference between revisions of "DBF ISEXCLUSIVE()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) m (Text replace - "lianjaapi.h" to "lianja_api.h") |
||
Line 7: | Line 7: | ||
==SYNOPSIS== | ==SYNOPSIS== | ||
<code lang="c"> | <code lang="c"> | ||
− | #include " | + | #include "lianja_api.h" |
int DBF_ISEXCLUSIVE() | int DBF_ISEXCLUSIVE() | ||
Line 27: | Line 27: | ||
<code lang="c"> | <code lang="c"> | ||
− | #include " | + | #include "lianja_api.h" |
lianjaapi_dbf_isexclusive() | lianjaapi_dbf_isexclusive() |
Latest revision as of 06:56, 11 April 2013
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()