Mar 14 2021 04:53 PM
I have a bookkeeping application.
Every year I copy and paste the DB with a new name and remove the data from the tables relating to the bookkeeping entries of the previous year.
This time after I do this my command buttons do not work.
For example, a button to open a form using DoCmd.OpenForm does not work. Some of the buttons open forms. Other buttons within an opened perform activate calculations.
Mar 14 2021 08:16 PM
Mar 15 2021 08:09 AM
Mar 15 2021 08:22 AM
I am not an expert in accounting, but I don't think it's standard practice to segregate data year-to-year, PHYSICALLY. My bank certainly doesn't do that, nor do standard off-the-shelf accounting packages. So, while I am not going to be adamant, it does seem to be out-of-mainstream practice. Cloning tables is roughly the same thing, IMO.
To focus, though, on this problem. I asked if the accdbs are both in a Trusted Location. It's also important to allow macros to run. Although the dialog refers only to macros, this does include VBA,
Although that's the most likely source of this problem (one or the other property, or both), it could be something else. Start there. See if that corrects the problem.
Mar 15 2021 01:39 PM
Mar 15 2021 01:50 PM