Difference between revisions of "EXCLUSIVE()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to return access status for a table | Function to return access status for a table | ||
− | |||
==Syntax== | ==Syntax== | ||
EXCLUSIVE([<workarea | alias>]) | EXCLUSIVE([<workarea | alias>]) | ||
− | |||
==See Also== | ==See Also== | ||
− | [[INDEX | + | [[INDEX]], [[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 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. |
− | + | ||
==Example== | ==Example== | ||
Line 22: | Line 18: | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] |
Revision as of 10:22, 9 February 2012
Contents
Purpose
Function to return access status for a table
Syntax
EXCLUSIVE([<workarea | alias>])
See Also
INDEX, 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.
Example
if not exclusive() dialog box "Command not available." endif