Difference between revisions of "INUSE()"
From Lianjapedia
Yvonne.milne (Talk | contribs) (→Example) |
Yvonne.milne (Talk | contribs) |
||
Line 21: | Line 21: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | [[Category: | + | [[Category:Cursor Functions]] |
− | + |
Latest revision as of 10:53, 4 February 2013
Contents
Purpose
Function to determine if a table is open
Syntax
INUSE(<expC>)
See Also
DBF(), NDX(), SET EXCLUSIVE, USE, USED()
Description
The INUSE() function checks if a table with the alias name specified in <expC> is open in any workarea. The INUSE() functions returns .T. if a table is open, .F. if not. The alias can be specified in the USE command. If not specified, the table basename is used
Example
? inuse("customers") .T. ? inuse("products") .T.