GetCurrDBName() As String
Application object
Returns the name of the currently connected database.
Related topics
The Application object