Difference between revisions of "EXCLUSIVE()"
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 12: | Line 12: | ||
==See Also== | ==See Also== | ||
− | [[MODIFY STRUCTURE]], [[ON ERROR]], [[PACK]], [[REINDEX]], [[SET EXCLUSIVE]], [[USE]], [[ZAP]] | + | [[INDEX]], [[MODIFY STRUCTURE]], [[ON ERROR]], [[PACK]], [[REINDEX]], [[SET EXCLUSIVE]], [[USE]], [[ZAP]] |
==Description== | ==Description== | ||
− | The EXCLUSIVE() function returns .F. if the table open in the currently selected workarea is available for shared access, and .T. if it is open for private use. If the optional <workarea | alias> is specified, the function will operate in the specified location. The MODIFY STRUCTURE, PACK, REINDEX, INDEX ON <exp> TAG and ZAP are the only commands that require exclusive use of the table. For reasons of safety, the INDEX ON | + | The EXCLUSIVE() function returns .F. if the table open in the currently selected workarea is available for shared access, and .T. if it is open for private use. If the optional <workarea | alias> is specified, the function will operate in the specified location. The MODIFY STRUCTURE, PACK, REINDEX, INDEX ON <exp> TAG and ZAP are the only commands that require exclusive use of the table. For reasons of safety, the INDEX ON ...TO <.ndx> command should also be used only with exclusive use of the table. |
Revision as of 15:58, 23 March 2009
Class
Environment
Purpose
Function to return access status for a table
Syntax
EXCLUSIVE([<workarea | alias>])
See Also
INDEX, MODIFY STRUCTURE, ON ERROR, PACK, REINDEX, SET EXCLUSIVE, USE, ZAP
Description
The EXCLUSIVE() function returns .F. if the table open in the currently selected workarea is available for shared access, and .T. if it is open for private use. If the optional <workarea | alias> is specified, the function will operate in the specified location. The MODIFY STRUCTURE, PACK, REINDEX, INDEX ON <exp> TAG and ZAP are the only commands that require exclusive use of the table. For reasons of safety, the INDEX ON ...TO <.ndx> command should also be used only with exclusive use of the table.
Example
if not exclusive() dialog box "Command not available." endif
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer