Attach(Int32,Action<TRecord>,LockType,LockType) Method
- Last UpdatedApr 08, 2026
- 1 minute read
Performs the action on a single record specified by a IRecord.RecordNumber matching the ptNum by attaching to a locked record rather than locking it.
void Attach(
int ptNum,
Action<TRecord> action,
LockType tableLockType,
LockType recordLockType
)
void Attach(
int ptNum,
Action<TRecord^>^ action,
LockType tableLockType,
LockType recordLockType
)
Parameters
- ptNum
- The IRecord.RecordNumber of the record.
- action
- The Action to perform on the record.
- tableLockType
- The lock type that already exists on the table.
- recordLockType
- The lock type that already exists on the record.