DBF LOCKR()
From Recital Documentation Wiki
Revision as of 17:12, 27 March 2009 by Yvonnemilne (Talk | contribs)
PURPOSE
Unlock a record
SYNONYM
api_dbf_unlockr()
SYNOPSIS
#include "dbapi.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 database.
EXAMPLE
The following example locks then unlocks the current record.
#include "dbapi.h" dbapi_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_LOCKR(), DBF_RECALL(), DBF_UNLOCKF(), DBF_UPDATE(), FIELD_UPDATE(), MEMO_UPDATE(), MEMO_WRITE()