FILEFLEX API REFERENCE



NAME
DBLockDB -- Lock an entire database

SYNTAX
DBLockDB()

CATEGORY
Multi-user

DESCRIPTION
NEW IN FILEFLEX 3.0 -- MULTI-USER VERSION ONLY

This function locks an entire file, the currently selected database. This function is particularly useful when performing file maintenance (like rebuilding indexes).

Some notes on multi-user files: FileFlex will attempt to access a locked file or record at approximately one second intervals. It will continue to do so until it gains access. If we find this becomes a problem, in a future version we may allow you to set the number of access attempts or time. Also, to prevent conflict or "deadlock", be sure that all users always lock and unlock records and files in exactly the same order.


EXAMPLE
put DBLockDB() into theResult 

SEE ALSO
DBSetShared, DBLockRecord, DBUnlock, DBRefreshRelation

INTERNAL FUNCTION NUMBER
72


Copyright © 1992-1998 by David Gewirtz, under license to Component Enterprises, Inc.
Contact: info@component-net.com

Casa de Bender