Long time viewer but first time poster. I'm having a problem with my Database, I have the same embedded macro built into multiple buttons but on this one form it is giving me an error. I've tried deleting the button, remaking it from scratch, copying the button from a working form but no matter what I do with the the form it doesn't work. I've even gone so far as to remake the form completely from the ground up and it is still not working.
The error I'm receiving is "Microsoft Access cannot find the object 'Created.'" If 'Created' is a new macro or macro group, make sure you have saved it and that you have typed its name correctly. After hitting the Okay button, the Macro Single Step window comes up and gives the Error number as 3021, Action Name: RunMenuCommand, Arguments: 97.
I am using Access 2010, the Macro is doing 5 things in it. It is setting a value to three different fields in the corresponding table that the form is adding the record to, then saving the record and finally closing the form. In that specific order.
I've got several buttons throughout the entire database that do this exact function and they work fine, it is just in this one form where I am having this problem. I have looked at the table to verify the table names are correct to what the macro is inputting and they are so I'm at a loss at figuring this out to why it is not working. I have backed up and repaired the database as well and it is still not working. Any assistance would be greatly appreciated.