|
|
|
|
|
HUnlockRecNum (Function) In french: HDébloqueNumEnr
Not available with these kinds of connection
Unlocks a record locked by: - the HLockRecNum function,
- a read function used with a locking parameter (for example, HRead used with the hLockWrite or hLockReadWrite constant).
Remark: HUnlockRecNum does not unblock a record locked by another application. // Lock HLockRecNum(CUSTOMER, hRecNumCurrent, hLockReadWrite) // Modify the record ... // Unlock HUnlockRecNum(CUSTOMER, hRecNumCurrent) Syntax
<Result> = HUnlockRecNum([<Data file> [, <Record number>]])
<Result>: Boolean - True if the record was unlocked,
- False if a problem occurs. HError is used to identify the error.
<Data file>: Optional character string Name of the data file used. If this name is not specified, HUnlockRecNum will use the last data file used by the last HFSQL function (function starting with "H"). <Record number>: Optional integer Number of the record to unlock. If this number is not specified (or is equal to 0 or to the hCurrentRecNum constant), HUnlockRecNum will read the current record.
Remarks HUnlockRecNum has no effect if: - The data file is in single-user mode (see HMode).
- The record is not locked.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|