Difference between revisions of "SET MULTIUSER"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 31: Line 31:
 
==Products==
 
==Products==
 
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
 
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
 +
[[Category:Documentation]]
 +
[[Category:Commands]]
 +
[[Category:Set_Commands]]

Revision as of 17:13, 10 March 2009

SET MULTIUSER

Class

Environment


Purpose

Enable or disable all multi-user commands and functions


Syntax

SET MULTIUSER ON | OFF | (<expL>)


See Also

SET EXCLUSIVE, USE, UNLOCK, RLOCK, FLOCK, LOCKF (), LOCKR ()


Description

If MULTIUSER is set OFF, all multi-user commands and functions are disabled. As a result, all files are opened exclusively. The FLOCK() and RLOCK() functions will always return a .T.. Commands such as UNLOCK, SET EXCLUSIVE, and USE...EXCLUSIVE are ignored. This allows multi-user applications to be distributed and run with single-user licenses. By default, MULTIUSER is OFF.


Example

set multiuser off
use demo
edit


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer