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.
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.