CONNECTED()

From Recital Documentation Wiki
Revision as of 16:29, 27 November 2009 by Helengeorge (Talk | contribs)

Jump to: navigation, search

Purpose

Function to determine whether there is a gateway connection active in a workarea


Syntax

CONNECTED([<workarea | alias>])


See Also

GATEWAY(), SET GATEWAY, USED()


Description

The CONNECTED() function returns .T. if the workarea specified by <workarea | alias> is connected to a Recital Database Gateway. If there is no gateway connection in the specified workarea then .F. is returned. If no <workarea | alias> is specified then the CONNECTED() function defaults to the current workarea.


Example

set gateway to "ora@sales:scott/tiger.tcpip"
? connected()
.T.


Products

Recital Server, Recital