Whether you create your database in the
.ACCDB format, you will need to trust the database before you can run any code within it. You can opt to trust that database for the current session, or you can trust the database permanently. The text that follows shows what’s involved for each scenario.
One option is to trust a database while it is open. This process is quite simple. When you open the database, the message bar appears with a security warning that certain content in the database has been disabled (refer to Figure 1). After you click the Options button, the Microsoft Office Security Options dialog box appears (see Figure 2). Here, either you can opt to enable the content ...