Export (0) Print
Expand All
Expand Minimize

SYS(3051) - Set Lock Retry Interval

Specifies the time in milliseconds that Visual FoxPro waits before attempting to lock a record, table, memo, or index file after an unsuccessful locking attempt.

SYS(3051, [nWaitMilliseconds])



Specifies the wait time in milliseconds; can be a value from 100 to 1000 milliseconds.

Specify 0 for nWaitMilliseconds to return the lock attempt time interval to the Visual FoxPro default startup value (333 milliseconds). If you omit nWaitMilliseconds, SYS(3051) returns the current lock attempt time interval.


SYS(3051) returns a numeric value as a character string that indicates the lock attempt time interval.

The value is applied globally.

Community Additions

© 2014 Microsoft