FLOCK()
Locks a file
Syntax
FLOCK() --> lSuccess
Returns
<lSuccess> A true (.T.) value, if the lock was successful;otherwise false (.F.)
Description
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.
Examples
USE tests New IF FLOCK() SUM tests->Ammount ENDIF USE
Compliance
Clipper
Files
Library is rdd
Seealso
RLOCK()
Pingback: Harbour All Functions – F | Viva Clipper !
Pingback: Harbour Database Functions | Viva Clipper !
Pingback: Harbour RG Summary | Viva Clipper !