DBName Function

The DBName function returns the name of the database for the specified connection.

This function can be added to your worksheet by using the Function Wizard.

Syntax

DBName( Connection)

The DBName function syntax has these parts:

ValueDescription
connectionRequired. This argument identifies the connection name used to connect to the database.