Advanced Settings

The Advanced Settings dialog box is opened by clicking the corresponding button on the Database Properties page: Advanced parameters set can be different according to the DBMS type.

Oracle

Microsoft SQL Server

Microsoft SQL Server (ODBC)

PostgreSQL

Teradata

It is possible to determine the macro that is executed on each connection regardless of the type of used DBMS. To do that select the Module/Form/Assembly/.NET Assembly in which the macro is implemented. At the same time, the list of available methods is to be formed in the Method list. Available statistic procedures with one parameter of a following type ISecurityConnection:

Class PrepareDB: Object
    Public Shared Sub OnDBConnecting(Connection: ISecurityConnection);
    Begin
        //Preparing connection
    End Sub OnDBConnecting;
End Class PrepareDB;

The procedure is executed right after connection and before of any other queries. The created connection is available in the procedure input parameter. Any advanced connection settings can be determined in this procedure.

See also:

Database Properties Page