FILEFLEX API REFERENCE



NAME
DBRefreshRelation -- Update changed relational data

SYNTAX
DBRefreshRelation()

CATEGORY
Multi-user

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

DBRefreshRelation forces the complete updating of an active relation. The idea is that in multi-user mode, people all over can be updating relational data. To be sure you've got the very latest stuff, the query relation has to be rebuilt. So, if you've done a relational query and some time has passed, it's good to call DBRefreshRelation in case others have made some important changes.

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

SEE ALSO
DBSetShared, DBLockRecord, DBUnlock, DBLockDB

INTERNAL FUNCTION NUMBER
74


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

Casa de Bender