Difference between revisions of "DBF UNLOCKR()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) m (Text replace - "lianjaapi.h" to "lianja_api.h") |
||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
==SYNOPSIS== | ==SYNOPSIS== | ||
<code lang="c"> | <code lang="c"> | ||
− | #include " | + | #include "lianja_api.h" |
int DBF_UNLOCKR() | int DBF_UNLOCKR() | ||
Line 25: | Line 25: | ||
<code lang="c"> | <code lang="c"> | ||
− | #include " | + | #include "lianja_api.h" |
lianjaapi_dbf_unlockr() | lianjaapi_dbf_unlockr() |
Latest revision as of 07:09, 11 April 2013
PURPOSE
Unlock a record
SYNONYM
api_dbf_unlockr()
SYNOPSIS
#include "lianja_api.h" int DBF_UNLOCKR() <input parameters> long recnum; /* Record number */ <output parameters> none
DESCRIPTION
The DBF_UNLOCKR() function will unlock the specified record in the currently selected table.
EXAMPLE
The following example locks then unlocks the current record.
#include "lianja_api.h" lianjaapi_dbf_unlockr() { int recno; recno = DBF_RECNO(); if (!DBF_ISEXCLUSIVE()) DBF_UNLOCKR(recno); _retni( recno ); }
SEE ALSO
BLOB_UPDATE(), BLOB_WRITE(), DBF_APPEND(), DBF_DELETE(), DBF_ISEXCLUSIVE(), DBF_ISREADONLY(), DBF_LOCKF(), DBF_RECALL(), DBF_UNLOCKF(), DBF_UPDATE(), FIELD_UPDATE(), MEMO_UPDATE(), MEMO_WRITE()