I have a very strange problem. When my Access database is in its default location the buttons on forms to open other forms, for example, work but when I move the database to another folder, some buttons stop working whilst other work. The buttons that stop working seem to be the ones that I have added code myself such as:
DoCmd.Close acForm, "frmVolunteersExistingSearch", acSaveYes
One thing I remember doing is trying to change the references in Visual Basic, Tools, References. The ones currently checked are VB for Applications, MS Access 15.0 Object Library, OLE Automation, MS Office 15.0 Access database engine Object Library. I think I tried to add MS DAO 3.6 Object Library for some bit of code but got an "Error in Loading DLL" error.
I am using the trial version of Office 13 Professional, Windows 7 and did not get a Product Key to enter from the download page so it does not have the product key installed. I have never come across database items not work just because I changed its folder location or copied. My backups don't work either. Would be grateful for any ideas.