Difference between revisions of "CONNECTED()"
From Recital Documentation Wiki
		
		
		
| Yvonnemilne  (Talk | contribs) | Yvonnemilne  (Talk | contribs)  | ||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | |||
| − | |||
| − | |||
| − | |||
| ==Purpose== | ==Purpose== | ||
| Function to determine whether there is a gateway connection active in a workarea | Function to determine whether there is a gateway connection active in a workarea | ||
| Line 28: | Line 24: | ||
| ==Products== | ==Products== | ||
| − | Recital  | + | Recital Server, Recital   | 
| [[Category:Documentation]] | [[Category:Documentation]] | ||
| [[Category:Functions]] | [[Category:Functions]] | ||
| + | [[Category:Remote Data Connectivity]] | ||
| + | [[Category:Remote Data Connectivity Functions]] | ||
Latest revision as of 11:50, 22 June 2010
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
