79676786

Date: 2025-06-23 21:43:43
Score: 1.5
Natty:
Report link

At a guess the CurrentDb variable is a global or class variable that holds the object for the currently open database and your just seeing a lot of code us the same variable name for it.

Check out https://learn.microsoft.com/en-us/office/client-developer/access/desktop-database-reference/database-openrecordset-method-dao for how to open a DAO database (its hard to say what else you need to do beyond that to get the code to run as the intelisense popup is hiding the next line of code.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rorthron