Question: I recently upgraded to Access 2007 but the command buttons in my database form which was created in Access 2003 no longer work.
Answer: The most common reason for this is that Access has built-in macro security. Your “buttons” use code which is blocked for your protection. To enable those macros to work, you must “Enable” the content. You will probably see a prompt below the ribbon which says, “Security Warning Certain content in the database has been disabled.” Click the Options…. button.
You can Enable this content, which will require you to enable it each time you use the database.
In order to enable it each time without having to click the options, you can add the folder with your Access files to your trusted locations. Do this by clicking on the Open the Trust Center from that Security Alert screen. Click on the Trusted Locations link and click add new location and browse for the folder where your Access database is located. You can also check Subfolders. and click OK twice. This will allow you to open the file without having to enable macros for each database.
(You can also find the Trust Center settings by clicking on the Microsoft Office button and select Access Options and click Trust Center. You will find Trusted Locations from the Trust Center settings link).