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])

Return Values

Character

Parameters

  • 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.

Remarks

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

See Also

SET REPROCESS | SYS(3052) - Override SET REPROCESS Locking | Locking Data