SYS(3051) - Set Lock Retry Interval

See Also

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.

Syntax

SYS(3051, [nWaitMilliseconds])

Returns

Character

Arguments

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.