Share via


HASTABLECONNECTION Function (Database)

Verifies if a connection to an external database exists based on the specified name.

Ok := HASCONNECTIONTYPE(ConnectionType, Name)

Parameters

  • ConnectionType
    Type: TableConnectionType Specifies the type of table connection as defined in the TableType property.
  • Name
    Type: Text The name of the external table connection. You must already have registered a table connection with this name.

Return Value

Type: Boolean

true if a table connection of the specified name exists; otherwise false.

See Also

Reference

TableType Property
TableConnectionType Data Type
GETDEFAULTTABLECONNECTION Function (Database)
REGISTERTABLECONNECTION Function (Database)
UNREGISTERTABLECONNECTION Function (Database)

Concepts

External Tables