Difference between revisions of "SET MULTIUSER"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Enable or disable all multi-user commands and functions | Enable or disable all multi-user commands and functions | ||
Line 15: | Line 8: | ||
==See Also== | ==See Also== | ||
− | + | [[FLOCK()]], [[LOCKF]], [[LOCKR]], [[RLOCK()]], [[SET EXCLUSIVE]], [[UNLOCK]], [[USE]] | |
==Description== | ==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. | + | If MULTIUSER is set OFF and Recital is running with a single-user license, 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. SET MULTIUSER has no effect on Recital systems running with multi-user licenses. |
==Example== | ==Example== | ||
− | < | + | <code lang="recital"> |
set multiuser off | set multiuser off | ||
use demo | use demo | ||
− | edit</ | + | edit |
+ | </code> | ||
==Products== | ==Products== | ||
− | Recital | + | Recital Server, Recital |
+ | [[Category:Documentation]] | ||
+ | [[Category:Commands]] | ||
+ | [[Category:Set_Commands|MULTIUSER]] | ||
+ | [[Category:Environment]] | ||
+ | [[Category:Environment Set Commands]] |
Latest revision as of 16:29, 23 November 2009
Purpose
Enable or disable all multi-user commands and functions
Syntax
SET MULTIUSER ON | OFF | (<expL>)
See Also
FLOCK(), LOCKF, LOCKR, RLOCK(), SET EXCLUSIVE, UNLOCK, USE
Description
If MULTIUSER is set OFF and Recital is running with a single-user license, 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. SET MULTIUSER has no effect on Recital systems running with multi-user licenses.
Example
set multiuser off use demo edit
Products
Recital Server, Recital