Button won't work

J

jmuirman

Hi,

I created my db in Access 2003 and migrated to 2007. Everything works great,
except when I put a button on a form to open a report, it doesn't work...

Any suggestions?

Thanks,

John
 
R

Rick Brandt

jmuirman said:
Hi,

I created my db in Access 2003 and migrated to 2007. Everything works
great, except when I put a button on a form to open a report, it
doesn't work...

Any suggestions?

By default Access 2007 suppresses code from running. You have to allow it
when you open the file or place the file in a "trusted folder".
 
L

Linq Adams via AccessMonster.com

As Rick said, code does not run in 2007 unless your database resides in a
folder that has been declared a “trusted†location.

To trust your folder, click:

Office Button (top left)
Access Options (bottom of dialog)
Trust Center (left)
Trust Center Settings (button)
Trusted Locations (left)
Add new location (button)
 
Top