Progress
Language Reference
CONNECTED Function
Tells whether a database is connected. If logical name is the logical name or alias is the alias of a connected database, the CONNECTED function returns TRUE; otherwise, it returns FALSE.
SYNTAX
logical-name
Refers to a logical name. It can be a quoted string or a character expression. An unquoted character string is not allowed.
alias
Refers to an alias. It can be a quoted string or a character expression. An unquoted character string is not allowed.
EXAMPLEThis procedure runs
r-dispcu.p
if a database with the logical name sports is connected.
SEE ALSO
ALIAS Function, CONNECT Statement, CREATE ALIAS Statement,CREATE DATABASE Statement, DATASERVERS Function, DBCODEPAGE Function, DBCOLLATION Function, DBRESTRICTIONS Function, DBTYPE Function, DBVERSION Function, DELETE ALIAS Statement, DISCONNECT Statement, FRAME-DB Function, LDBNAME Function, NUM-DBS Function, PDBNAME Function, SDBNAME Function
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |