Specifies the type of the record locking. 
Unit
MyAccess
 Syntax
TLockRecordType = (lrImmediately, lrDelayed);
Values
  
    | Value |     Meaning |   
  
    | 
lrDelayed     | 
    
Locking is performed just at the time of execution Post for this record.      | 
  
  
    | 
lrImmediately     | 
    
Checks for locking directly on calling the Lock method. In this case if set Lock(lrImmediately) call to BeforeEdit event you can unable the same row in the table to be modified by several users at the same time.      |