ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
True if the operation was performed,False if a problem occurred. HError is used to identify the error.
Name of data file used. If this name is not specified, HLockRecNum will use the last data file used by the last HFSQL management function (function starting with "H").
Number of the record to lock. If this parameter is not specified, HLockRecNum will handle the current record. HLockRecNum locks the current record only. You cannot specify a record number other than the current one (to specify the current record number, use the hRecNumCurrent constant).
Used to define the type of lock performed on the record.hLockWrite(default value)Lock in write mode: the record found in the data file can be read by another application but it cannot be modified by another application.It will be impossible for this other application to block Record or the data file.hLockReadWriteLock in read/write: the record found in the data file cannot be read or modified by another application. It will be impossible for this other application to block Record or the data file.hLockNoNo lock: the record can be read or modified by another application.
Modifying the type of lock for a record
Effect of lock mode
Number of locks
Native SQL Server Connector: Lock in write mode
Managing locks in OLE DB
Persistence of lock
Last update: 04/09/2021
Send a report | Local help
I accept the terms of the license agreement
All you have to do is configure your product as follows: