Form btns of Access 2007 not working in Access 2016 (1 Viewer)

Ashfaque

Student
Local time
Tomorrow, 03:17
Joined
Sep 6, 2004
Messages
894
Hi,

This might have happened with many of us and they were helped by forum members. So I hope the same for myself.:)

I just copied one of my db from Access 2007 and opened in Access 2016 with no code in errors but found strange thing that no buttons on the forms are workable where as if I create a new btn copying same old code on click under new btn works fine.

Does it mean I will have to re-create all the buttons on each form? Is not there any solution for this?

Can somebody let me know please.

Thanks,
 

isladogs

MVP / VIP
Local time
Today, 22:47
Joined
Jan 14, 2017
Messages
18,246
The button code may have become 'detached' from the button.
Check whether it still says Event Procedure in the Click event of the button property sheet and if not add it again.
 

Ashfaque

Student
Local time
Tomorrow, 03:17
Joined
Sep 6, 2004
Messages
894
The button code may have become 'detached' from the button.
Check whether it still says Event Procedure in the Click event of the button property sheet and if not add it again.
Even procedure are there with btns but still nothing
 

isladogs

MVP / VIP
Local time
Today, 22:47
Joined
Jan 14, 2017
Messages
18,246
OK, in that case your database is probably not running from a trusted location

If you have the yellow security banner visible, click Enable Content

1658043368676.png


If you can't see that, go to File ....Options ...Trust Center ...Trust Center Settings:
a) Click Macro Settings and make sure it is set to option 2 - Disable all macros with notifications
b) Click Trusted Locations and add the current location as trusted.

Restart your database. Does it work now?
 

Users who are viewing this thread

Top Bottom