SADD_REC() Attempts to append a blank record UNIQFNAME() Creates a unique file name SREC_LOCK() Attempts to lock a record SNET_USE() Attempts to pen a DBF SFIL_LOCK() Attempts to lock a file
Tag Archives: SFIL_LOCK()
SP_SFIL_LOCK
SFIL_LOCK() Short: ------ SFIL_LOCK() Attempts to lock a file Returns: -------- <lSuccess> success Syntax: ------- SFIL_LOCK(nTries,lInteract,[cMoreMessage]) Description: ------------ Attempts to lock entire DBF file. Tries <nTries> times and then allows user to retry or not <lInteract> by giving message [cMoreMessage] and asking YES/NO. Examples: --------- IF SFIL_LOCK(5,.F.) count for "S"$LNAME UNLOCK ELSE LOOP ENDIF Source: ------- S_SFILOK.PRG