Command Button not working after closing DB

djs

Registered User.
Local time
Today, 13:05
Joined
Aug 18, 2011
Messages
11
Hopefully this is an easy fix but can't seem to find anything on it and I have never had this happen to me before. I have a command button with the following code to insert a hyperlink

Me.Attachment.SetFocus
DoCmd.RunCommand acCmdInsertHyperlink

This worked fine when I first created the button but once I exited the database and reopened it, it did nothing. Transfered the tables and form to a new database and same thing happened, worked fine then reopened and it did not work any more. I am using access 2010 also. I am confused because I have other databases and have not had this issue with any of them. I appreciate any help.
 
The last time I read of this happening, the Folder holding the Field had not yet been declared as 'Trusted;' has it in this case?

Linq ;0)>
 
Thanks missinglinq. I played around with changing some stuff in the trust center settings and the folder where the database was being stored was not a trusted location so that fixed it. Thanks again!
 

Users who are viewing this thread

Back
Top Bottom