Locks a file
FLOCK() --> lSuccess
<lSuccess> A true (.T.) value, if the lock was successful;otherwise false (.F.)
This function returns a logical true (.T.) if a file lock is attempted and is successfully placed on the current or designated database. This function will also unlock all records locks placed by the same network station.
USE tests New IF FLOCK() SUM tests->Ammount ENDIF USE
Library is rdd