Previous Topic: Macro Enhancements

Next Topic: Universal File Close Dialog


Macro Added (r7.3.5)

The following macro has been added to the list of r7.3 macros provided in the Forward Engineering Template Editor.

Macro Name:

DatabaseConnection

Description:

This macro returns information about the current database connection used by the model.

Prototype:
DatabaseConnection( Connection Parameter ) 

Parameter: Connection Parameter

Status: Req

Description: This identifies the type of information used by the connection.

Result:

This macro will fail in the following circumstances:

Deprecation Level:

Active

Sample:
[ “Connected to database as user “ 
DatabaseConnection( “User” ) ]
Result:

Connected to database as user User1