Specifies whether Visual FoxPro uses the SET REPROCESS setting when attempting to lock an index or memo file.

SYS(3052, nFileType, [lHonorReprocess])

Parameters

nFileType

Specifies the type of file. The following table lists the values for nType and the corresponding file type:

nFileType File type

1

Index

2

Memo

lHonorReprocess

Specifies whether Visual FoxPro uses the SET REPROCESS setting for unsuccessful lock attempts for index and memo files.

Specify true (.T.) to use the SET REPROCESS setting when Visual FoxPro attempts to lock files specified with nFileType. Specify false (.F.), the default, to override the SET REPROCESS setting when Visual FoxPro attempts to lock files specified with nFileType. When set to false, Visual FoxPro waits indefinitely for locks on the specified files; this option is the same as locking behavior in previous versions of FoxPro.

If you omit lHonorReprocess, SYS(3052) returns the current setting for the file type specified with nFileType.

Expand imageReturn Value

Expand imageRemarks

Expand imageSee Also