Home  Fees/Services  Access Examples  Tutorials  Access Download  Articles  Search  Forums  Blockchain Tech  Contact  Privacy  Links
Application Object Examples
Code DB VBA Example

Visual Basic Application Objects


Access Error

Access CodeDB Method Example

CodeDb Method - You can use the CodeDb method in a code module to determine the name of the Database object that refers to the database in which code is currently running.
Use the CodeDb method to access Data Access Objects (DAO) that are part of a library database.

CodeDb Example:

Public Sub DisplayDB()
    MsgBox CodeDb.Name
End Su

The result will be a popup message with the full path and filename of the database running the code.

Below is an example of the popup message from the code above:

Code DB Method

More CodeDB information from Microsoft:

A Blue Claw Database Design Article:

Why Choose Microsoft Access

Blue Claw Database Design Downloadable Tutorial:
TransferText & OutputTo Microsoft Access Download.  

A Blue Claw Software Design Template:

Preventive Maintenance (PM) Access Template

Contact Information

Copyright 2000-2018 Blue Claw Database Design