LockRmsRecordWait locks the specific RMS file record for exclusive use. If other processes are using the record, the function waits until locks the record successfully.
Function LockRmsRecordWait(rmsHandle as Integer, recNumber As Long) As Boolean
rmsHandle
RMS file handle
recNumber
Record number
On success, LockRmsRecordWait returns TRUE. If failed, it returns FALSE.
The function LockRmsRecordWait locks the specific RMS file record for exclusive use.
If other processes are using the record, the function waits until it locks the record successfully.
If you do not want to wait while the record is busy, call LockRmsRecord.
LockRmsRecordWait, LockRmsRecord, UnLockRmsRecord.