How to check if connection isConne before Select via Connect

We try to find out how to check thats the connection to SQL-Server is open before we try to Select via the NET-Connector.

In other words:
If the connector can not connect to the Server (perhaps Firewall Problems) we want to inform the user that he can’t access for the Moment.

With best regards,
Uwe Janke

you can add handler to the OnDBError event of the connector.

The connection is initialized right before the first SQL query is executed. If sql operation fails (whether on connection or on execution of the query), connector will fire OnDBError … nt_dberror

Example in the connectors package: