Database ID vs Application ID
In older versions of the Revelation database, the account name referred to the database. In OpenInsight, the equivalent is more clearly referred to as a Database ID, or simply @DBID. OpenInsight .DBT files correspond to @DBID.
There is a second ID, which often has the same value as the Database ID: the Application ID, or simply @APPID. OpenInsight repository storage, object code location, and event chaining are based on @APPID. @APPID contains application specific fields, including the database name, which is stored in @APPID<2>.
Note: Remember to use @DBID when referring to the persistent name of the database.