I have set db = currentdb all over the place in my code. I am now getting the cannot open any more databases error.
When I started on this database I was very much a newbie and was very careless in code. I am much better now but don't want to have to go back and change hundreds of modules.
Anyway, instead of opening the connection and closing it all the time can I just set it once for everything in the database to use? Some sort of global declaration? Then I would only have to open the recordset in the code?
Start Free Trial