|
|
|
|
|
<Source>.UnlockRecNum (Function) In french: <Source>.DébloqueNumEnr
 Not available with these kinds of connection
Unlocks a record locked by: - the <Source>.LockRecNum function,
- a read function used with a locking parameter (for example, <Source>.Read used with the hLockWrite or hLockReadWrite constant).
Note: The <Source>.UnlockRecNum function cannot be used to unlock a recording blocked by another application.
Customer.LockRecNum(hRecNumCurrent, hLockReadWrite)
...
Customer.UnlockRecNum(hRecNumCurrent)
Syntax
<Result> = <Source>.UnlockRecNum([<Record number>])
<Result>: Boolean - True if the record was unlocked,
- False if a problem occurs. HError is used to identify the error.
<Source>: Type corresponding to the specified source Name of the data file used. <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), <Source>.UnlockRecNum will read the current record.
Remarks <Source>.UnlockRecNum has no effect if: - The data file is in single-user mode (see <Source>.Mode).
- The record is not locked.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|