Difference between revisions of "INUSE()"

From Recital Documentation Wiki
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
==Class==
 
Table Basics
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to determine if a table is open
 
Function to determine if a table is open
Line 33: Line 29:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Table Basics]]
 
[[Category:Table Basics]]
 
[[Category:Table Basics Functions]]
 
[[Category:Table Basics Functions]]

Latest revision as of 16:40, 2 December 2009

Purpose

Function to determine if a table is open


Syntax

INUSE(<expC>)


See Also

DBF(), NDX(), NETERR(), SET CACHELOAD, SET DCACHE, 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

// The demo view bridge opens
// the tables customer, accounts,
// state and products in workareas 1 – 4
use demo
? inuse("customer")
.T.
? inuse("product")
.T.


Products

Recital Server, Recital