FILEFLEX API REFERENCE



NAME
DBUnlock -- Unlock the currently selected database

SYNTAX
DBUnlock()

CATEGORY
Multi-user

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

This function unlocks the currently selected database file and it's associated memos and indexes. DBUnlock ruthlessly attempts to write any changes to disk before removing the file locks by forcing direct writes to the disk and doing a complete buffer flush.

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 DBUnlock() into theResult 

SEE ALSO
DBSetShared, DBLockRecord, DBLockDB, DBRefreshRelation

INTERNAL FUNCTION NUMBER
73


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

Casa de Bender